Skip to content

Commit

Permalink
简化断言包的包名
Browse files Browse the repository at this point in the history
  • Loading branch information
yangyile committed Dec 27, 2024
1 parent 94c3ac1 commit 6b4959e
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ require (
github.com/kr/text v0.2.0 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/rogpeppe/go-internal v1.13.1 // indirect
github.com/yyle88/done v1.0.18 // indirect
github.com/yyle88/done v1.0.20 // indirect
github.com/yyle88/erero v1.0.15 // indirect
github.com/yyle88/formatgo v1.0.21 // indirect
github.com/yyle88/must v0.0.11 // indirect
github.com/yyle88/must v0.0.12 // indirect
github.com/yyle88/mutexmap v1.0.9 // indirect
github.com/yyle88/printgo v1.0.1 // indirect
github.com/yyle88/rese v0.0.2 // indirect
github.com/yyle88/syntaxgo v0.0.43 // indirect
github.com/yyle88/zaplog v0.0.16 // indirect
github.com/yyle88/zaplog v0.0.17 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 // indirect
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR
github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o=
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/yyle88/done v1.0.18 h1:O71T+76laNmuY1kYP8PHkp6uceoN6ABTng/8c9KpZts=
github.com/yyle88/done v1.0.18/go.mod h1:32UMgjuZP9LctfNNhBQqTyVbjggPOWpoXn8Mp0VrQbw=
github.com/yyle88/done v1.0.20 h1:f9nhZUX+ORfN6TLTCFWXQdnxTpN0c1IrL9dZh+DpyT8=
github.com/yyle88/done v1.0.20/go.mod h1:UG1o7z95LX5D2+YhfohMLTIbfT+M+2g6JD7o4niyLwE=
github.com/yyle88/erero v1.0.15 h1:W3v1eIfX1m2YxYwAAtHky/T0FkreAh87/VZU/xMOFgY=
github.com/yyle88/erero v1.0.15/go.mod h1:NhP5EcPoVlShkMk1cVCFP3im5Zm+JRG35qIInMw7aeo=
github.com/yyle88/formatgo v1.0.21 h1:YPhZf63/f+R1JayJ0Cbnqbc9P/9OJOaYJJpwAhMNdtE=
github.com/yyle88/formatgo v1.0.21/go.mod h1:6lkm0Jk3XfDKIMtcUqc01DcLVXcKaLTYIkWbQbsDCzU=
github.com/yyle88/must v0.0.11 h1:GTDpRMX1wKOkl93C8yQkzKsmrRitmfIdl1cG1siGx38=
github.com/yyle88/must v0.0.11/go.mod h1:5Ur4BKRx6GuW4gCZNx8Hf+iRS9lVmywSkCpxun/f+Do=
github.com/yyle88/must v0.0.12 h1:IwHguhjZqWn41jk9A52XhR2Bc3bb1IXRHIxXrN7U0+A=
github.com/yyle88/must v0.0.12/go.mod h1:DgvZQFh+H14kCVJkG2XlU+ltSJlDHMBUAxykhbS5cPk=
github.com/yyle88/mutexmap v1.0.9 h1:g1nfNmsReU/AgcGkLgPEKrBeMThJJBrJuvU7i3DOVC0=
github.com/yyle88/mutexmap v1.0.9/go.mod h1:QUYDuARLPlGj414kHewQ5tt8jkDxQXoai8H3C4Gg+yc=
github.com/yyle88/printgo v1.0.1 h1:0lCpq28Tlf0jmYhSIlDQ7A3hAqVYswhBuURLR9xbmsw=
Expand All @@ -41,8 +41,8 @@ github.com/yyle88/syntaxgo v0.0.43 h1:G5x7J0br8XvSxytAJJL/DQQ968HSoPBMyNTQ3NpBdI
github.com/yyle88/syntaxgo v0.0.43/go.mod h1:rmapSvQHkPMsIBYXNa/a4i/31vVGbO0Bt6MOyg00TLs=
github.com/yyle88/tern v0.0.4 h1:PFirncRmdzpMZl6G41Z0Ihmx/XB6PdSQWAHa4a1+PQk=
github.com/yyle88/tern v0.0.4/go.mod h1:g9weyOMLtXYyt37EAshZPUTTHdH7WFauuxDi4oPr7/8=
github.com/yyle88/zaplog v0.0.16 h1:ZCxQhq3+nWeWMAXIzeA1EA4exRq5Pn8pXTpEw1GjyD4=
github.com/yyle88/zaplog v0.0.16/go.mod h1:0ct8Rh6uE5i9RG+xbH6d4/pyDBt9JmxBqHNCI+T4wiM=
github.com/yyle88/zaplog v0.0.17 h1:2exjnXROfkNRvcKZDAFUM2KDpca1n2OKrEH73pTvrX0=
github.com/yyle88/zaplog v0.0.17/go.mod h1:SJvxdHW7zWu1r+K66oBPBWljiGnDjCV8le3SzQnJpBw=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package simplejson_must
package simplejsonm

import (
"github.com/bitly/go-simplejson"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package simplejson_must
package simplejsonm

import (
"github.com/bitly/go-simplejson"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package simplejson_omit
package simplejsono

import (
"github.com/bitly/go-simplejson"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package simplejson_omit
package simplejsono

import (
"github.com/bitly/go-simplejson"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package simplejson_soft
package simplejsons

import (
"github.com/bitly/go-simplejson"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package simplejson_soft
package simplejsons

import (
"github.com/bitly/go-simplejson"
Expand Down
6 changes: 3 additions & 3 deletions sure/sure.gen_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func TestGen(t *testing.T) {
t.Log(srcRoot)
outRoot := runpath.PARENT.Path()
t.Log(outRoot)
sure_pkg_gen.GenerateSurePackageFiles(t, sure_pkg_gen.NewSurePackageConfig(srcRoot, sure.SOFT, pkgPath).WithOutputRoot(outRoot).WithNewPkgName("simplejson_soft"))
sure_pkg_gen.GenerateSurePackageFiles(t, sure_pkg_gen.NewSurePackageConfig(srcRoot, sure.MUST, pkgPath).WithOutputRoot(outRoot).WithNewPkgName("simplejson_must"))
sure_pkg_gen.GenerateSurePackageFiles(t, sure_pkg_gen.NewSurePackageConfig(srcRoot, sure.OMIT, pkgPath).WithOutputRoot(outRoot).WithNewPkgName("simplejson_omit"))
sure_pkg_gen.GenerateSurePackageFiles(t, sure_pkg_gen.NewSurePackageConfig(srcRoot, sure.SOFT, pkgPath).WithOutputRoot(outRoot).WithNewPkgName("simplejsons"))
sure_pkg_gen.GenerateSurePackageFiles(t, sure_pkg_gen.NewSurePackageConfig(srcRoot, sure.MUST, pkgPath).WithOutputRoot(outRoot).WithNewPkgName("simplejsonm"))
sure_pkg_gen.GenerateSurePackageFiles(t, sure_pkg_gen.NewSurePackageConfig(srcRoot, sure.OMIT, pkgPath).WithOutputRoot(outRoot).WithNewPkgName("simplejsono"))
}

0 comments on commit 6b4959e

Please sign in to comment.