Skip to content

Commit 8d2d527

Browse files
author
coder2z
committed
配置优化
1 parent 8edadf8 commit 8d2d527

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module github.com/coder2z/g-saber
33
go 1.16
44

55
require (
6+
github.com/BurntSushi/toml v0.3.1
67
github.com/davecgh/go-spew v1.1.1
78
github.com/dustin/go-humanize v1.0.0 // indirect
89
github.com/go-playground/locales v0.13.0
@@ -12,7 +13,6 @@ require (
1213
github.com/json-iterator/go v1.1.10
1314
github.com/mitchellh/mapstructure v1.1.2
1415
github.com/modern-go/reflect2 v1.0.1
15-
github.com/pelletier/go-toml v1.2.0
1616
github.com/philchia/agollo/v4 v4.1.4
1717
github.com/pkg/errors v0.8.1
1818
github.com/robfig/cron/v3 v3.0.1

go.sum

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRW
181181
github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
182182
github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo=
183183
github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
184-
github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc=
185184
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
186185
github.com/philchia/agollo/v4 v4.1.4 h1:f+V7uhjjZxk/VDNAvHgyr+jeNRyCkB6d8VKuOmYZeK8=
187186
github.com/philchia/agollo/v4 v4.1.4/go.mod h1:SBdQmfqqu/XCWJ1MDzYcCL3X+p3VJ+uQBy0nxxqjexg=

xcfg/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package xcfg
22

33
import (
4-
"github.com/pelletier/go-toml"
4+
"github.com/BurntSushi/toml"
55
"io"
66

77
"github.com/davecgh/go-spew/spew"

0 commit comments

Comments
 (0)