Apply .gitignore rules
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
xml操作工具类:
|
||||
此操作工具类来源于:https://github.com/antchfx/xquery
|
||||
根据实际情况。我去掉了对golang.org/x/net/html/charset的依赖,并添加了各种xml加载函数
|
||||
|
||||
由于go默认编码的原因,如果文本编码不是utf-8 将会出现乱码
|
||||
|
||||
使用方式
|
||||
root := xmlUtil.LoadFromString(xml)
|
||||
nodes:= root.SelectElements(xpath)
|
||||
*/
|
||||
package xmlUtil
|
||||
@@ -0,0 +1,35 @@
|
||||
module common
|
||||
|
||||
go 1.22.10
|
||||
|
||||
toolchain go1.23.4
|
||||
|
||||
replace (
|
||||
framework => ../../framework
|
||||
goutil => ../../goutil
|
||||
)
|
||||
|
||||
require (
|
||||
framework v0.0.0-20230425160006-b2d0b0a0b0b0
|
||||
github.com/go-redis/redis/v8 v8.11.5
|
||||
gorm.io/driver/mysql v1.5.7
|
||||
gorm.io/gorm v1.25.12
|
||||
goutil v0.0.0-20230425160006-b2d0b0a0b0b0
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/cespare/xxhash/v2 v2.1.2 // indirect
|
||||
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
|
||||
github.com/elastic/go-elasticsearch/v8 v8.0.0-20210916085751-c2fb55d91ba4 // indirect
|
||||
github.com/fatih/color v1.15.0 // indirect
|
||||
github.com/go-sql-driver/mysql v1.7.0 // indirect
|
||||
github.com/gomodule/redigo v1.8.9 // indirect
|
||||
github.com/jinzhu/inflection v1.0.0 // indirect
|
||||
github.com/jinzhu/now v1.1.5 // indirect
|
||||
github.com/mattn/go-colorable v0.1.13 // indirect
|
||||
github.com/mattn/go-isatty v0.0.17 // indirect
|
||||
github.com/stretchr/testify v1.8.0 // indirect
|
||||
golang.org/x/net v0.0.0-20210916014120-12bc252f5db8 // indirect
|
||||
golang.org/x/sys v0.6.0 // indirect
|
||||
golang.org/x/text v0.14.0 // indirect
|
||||
)
|
||||
Reference in New Issue
Block a user