Skip to content

Commit

Permalink
update & test set (#44)
Browse files Browse the repository at this point in the history
### Background

→ in a branch with the fileutils I updated set.. fixed a bunch and added
tests. forgot to commit them though. here they are

### Changes

- update/fix and test set

### Testing

- added where they didn't exist
  • Loading branch information
drshriveer authored Mar 14, 2024
1 parent bddbf02 commit 594dc48
Show file tree
Hide file tree
Showing 25 changed files with 216 additions and 49 deletions.
2 changes: 1 addition & 1 deletion gconfig/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/drshriveer/gtools/gerror v0.0.0-20240118184715-48af8963ff63
github.com/drshriveer/gtools/set v0.0.0-20240118184715-48af8963ff63
github.com/puzpuzpuz/xsync/v3 v3.0.2
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
gopkg.in/yaml.v3 v3.0.1
)

Expand Down
4 changes: 2 additions & 2 deletions gconfig/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gencommon/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/drshriveer/gtools/gencommon
go 1.21.1

require (
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
golang.org/x/tools v0.17.0
)

Expand Down
4 changes: 2 additions & 2 deletions gencommon/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion genum/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/drshriveer/gtools/rutils v0.0.0-20240118184715-48af8963ff63
github.com/drshriveer/gtools/set v0.0.0-20240118184715-48af8963ff63
github.com/itzg/go-flagsfiller v1.12.0
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
gopkg.in/yaml.v3 v3.0.1
)

Expand Down
4 changes: 2 additions & 2 deletions genum/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gerror/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/drshriveer/gtools/set v0.0.0-20240118184715-48af8963ff63
github.com/fatih/structtag v1.2.0
github.com/itzg/go-flagsfiller v1.12.0
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
)

require (
Expand Down
4 changes: 2 additions & 2 deletions gerror/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions go.work.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions gogenproto/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ require (

require (
github.com/iancoleman/strcase v0.3.0 // indirect
github.com/stretchr/testify v1.9.0 // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/tools v0.17.0 // indirect
)
4 changes: 2 additions & 2 deletions gogenproto/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gogenproto/internal/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21.1
toolchain go1.21.4

require (
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0
google.golang.org/protobuf v1.31.0
)
Expand Down
4 changes: 2 additions & 2 deletions gogenproto/internal/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions gsort/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ require (
github.com/drshriveer/gtools/gencommon v0.0.0-20240126203715-0dade61e5a14
github.com/drshriveer/gtools/set v0.0.0-20240118184715-48af8963ff63
github.com/itzg/go-flagsfiller v1.12.0
github.com/stretchr/testify v1.9.0
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/iancoleman/strcase v0.3.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/tools v0.17.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
11 changes: 9 additions & 2 deletions gsort/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gsync/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21.1

require (
github.com/drshriveer/gtools/gerror v0.0.0
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
)

replace github.com/drshriveer/gtools/gerror v0.0.0 => ../gerror
Expand Down
4 changes: 2 additions & 2 deletions gsync/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion log/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/drshriveer/gtools/log
go 1.21.1

require (
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
go.uber.org/zap v1.25.0
)

Expand Down
4 changes: 2 additions & 2 deletions log/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions set/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
module github.com/drshriveer/gtools/set

go 1.21.1

require (
github.com/stretchr/testify v1.9.0
gopkg.in/yaml.v3 v3.0.1
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/kr/pretty v0.1.0 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
)
18 changes: 18 additions & 0 deletions set/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 594dc48

Please sign in to comment.