Skip to content

Commit

Permalink
add license file and add fix replace in mod files (#4)
Browse files Browse the repository at this point in the history
### Background

Need a license file! and fix replace 

### Changes

- see above

### Testing

- just
  • Loading branch information
drshriveer authored Sep 15, 2023
1 parent 6529957 commit 8d283eb
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 21 deletions.
20 changes: 20 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 2023 Gavin Shriver

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
16 changes: 11 additions & 5 deletions gconfig/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,23 @@ module github.com/drshriveer/gtools/gconfig
go 1.21.0

require (
github.com/drshriveer/gtools/genum v0.0.0-20230912011444-c667b3c15d24
github.com/drshriveer/gtools/gerrors v0.0.0-20230912011444-c667b3c15d24
github.com/drshriveer/gtools/rutils v0.0.0-20230912011444-c667b3c15d24
github.com/drshriveer/gtools/set v0.0.0-20230912011444-c667b3c15d24
github.com/drshriveer/gtools/genum v0.0.0
github.com/drshriveer/gtools/gerrors v0.0.0
github.com/drshriveer/gtools/rutils v0.0.0
github.com/drshriveer/gtools/set v0.0.0
github.com/puzpuzpuz/xsync/v2 v2.5.0
github.com/stretchr/testify v1.8.4
gopkg.in/yaml.v3 v3.0.1
)

replace (
github.com/drshriveer/gtools/genum v0.0.0 => ../genum
github.com/drshriveer/gtools/gerrors v0.0.0 => ../gerrors
github.com/drshriveer/gtools/rutils v0.0.0 => ../rutils
github.com/drshriveer/gtools/set v0.0.0 => ../set
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/drshriveer/gtools/math v0.0.0-20230912011444-c667b3c15d24 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
)
10 changes: 0 additions & 10 deletions gconfig/go.sum
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/drshriveer/gtools/genum v0.0.0-20230912011444-c667b3c15d24 h1:w3goJaEY7iBqfxd/nsyfkmg1lKM9nDmbxDltUWqFilQ=
github.com/drshriveer/gtools/genum v0.0.0-20230912011444-c667b3c15d24/go.mod h1:lbDZMvLmZZHU8swg7mLY1cxMzdo+OdWVPHX4f0UiR1U=
github.com/drshriveer/gtools/gerrors v0.0.0-20230912011444-c667b3c15d24 h1:V1t1pxyiTURx7NpG/fbOED2mGcqLBr2ueaxHcohmYSM=
github.com/drshriveer/gtools/gerrors v0.0.0-20230912011444-c667b3c15d24/go.mod h1:TM5oCeeYZnsS7OTT3VL6JBXcPaZlveUUzbIh30FTpT8=
github.com/drshriveer/gtools/math v0.0.0-20230912011444-c667b3c15d24 h1:8krqSX29YGvqNqQGiUZetx4loA3cZdQeJpF3Nhj58iE=
github.com/drshriveer/gtools/math v0.0.0-20230912011444-c667b3c15d24/go.mod h1:eqIZax0uwm1gmKltWOfw1gqZ061O34OIPUCb/0e271Y=
github.com/drshriveer/gtools/rutils v0.0.0-20230912011444-c667b3c15d24 h1:CnrBbwc0HOzYYq5bO5h+ND/Y7sg2tM1b1HtqW2b8Lsk=
github.com/drshriveer/gtools/rutils v0.0.0-20230912011444-c667b3c15d24/go.mod h1:9r1JkMG/F2M76OksoonAucItRaA300OMn0fDkKc0EOI=
github.com/drshriveer/gtools/set v0.0.0-20230912011444-c667b3c15d24 h1:qrwpOktA3Fwto7b1ppQuC3GMTEBrbsFC+pKxrxxUpGs=
github.com/drshriveer/gtools/set v0.0.0-20230912011444-c667b3c15d24/go.mod h1:1rPgBBRn568yebYEEXdbC9vgfK8h/z0c5Sqenlqyq3g=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/puzpuzpuz/xsync/v2 v2.5.0 h1:2k4qrO/orvmEXZ3hmtHqIy9XaQtPTwzMZk1+iErpE8c=
Expand Down
9 changes: 7 additions & 2 deletions genum/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@ module github.com/drshriveer/gtools/genum
go 1.21.0

require (
github.com/drshriveer/gtools/rutils v0.0.0-20230912011444-c667b3c15d24
github.com/drshriveer/gtools/set v0.0.0-20230912011444-c667b3c15d24
github.com/drshriveer/gtools/rutils v0.0.0
github.com/drshriveer/gtools/set v0.0.0
github.com/stretchr/testify v1.8.4
gopkg.in/yaml.v3 v3.0.1
)

replace (
github.com/drshriveer/gtools/rutils v0.0.0 => ../rutils
github.com/drshriveer/gtools/set v0.0.0 => ../set
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
Expand Down
4 changes: 0 additions & 4 deletions genum/go.sum
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/drshriveer/gtools/rutils v0.0.0-20230912011444-c667b3c15d24 h1:CnrBbwc0HOzYYq5bO5h+ND/Y7sg2tM1b1HtqW2b8Lsk=
github.com/drshriveer/gtools/rutils v0.0.0-20230912011444-c667b3c15d24/go.mod h1:9r1JkMG/F2M76OksoonAucItRaA300OMn0fDkKc0EOI=
github.com/drshriveer/gtools/set v0.0.0-20230912011444-c667b3c15d24 h1:qrwpOktA3Fwto7b1ppQuC3GMTEBrbsFC+pKxrxxUpGs=
github.com/drshriveer/gtools/set v0.0.0-20230912011444-c667b3c15d24/go.mod h1:1rPgBBRn568yebYEEXdbC9vgfK8h/z0c5Sqenlqyq3g=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
Expand Down

0 comments on commit 8d283eb

Please sign in to comment.