diff --git a/chapter-B.21-cookie/go.mod b/chapter-B.21-cookie/go.mod new file mode 100644 index 0000000..c78632f --- /dev/null +++ b/chapter-B.21-cookie/go.mod @@ -0,0 +1,5 @@ +module chapter-B.21-cookie + +go 1.14 + +require github.com/novalagung/gubrak/v2 v2.0.0 // indirect diff --git a/chapter-B.21-cookie/go.sum b/chapter-B.21-cookie/go.sum new file mode 100644 index 0000000..017e12a --- /dev/null +++ b/chapter-B.21-cookie/go.sum @@ -0,0 +1,10 @@ +github.com/DefinitelyMod/gocsv v0.0.0-20181205141819-acfa5f112b45/go.mod h1:+nlrAh0au59iC1KN5RA1h1NdiOQYlNOBrbtE1Plqht4= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/novalagung/gubrak v1.0.0 h1:+iDvzUcSHUoa3bwP/ig40K2h9X+5cX2w5qcBb3izAwo= +github.com/novalagung/gubrak/v2 v2.0.0 h1:7wqp2XA2cLuTHyxVYw3AS+vRSfiwo8h3hmKxPFulOmA= +github.com/novalagung/gubrak/v2 v2.0.0/go.mod h1:zilliNLzP2RSdZ67Sz7NdqI4bg3j5zUTFR34tuXopA0= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/chapter-B.21-cookie/main.go b/chapter-B.21-cookie/main.go index 5295bd8..cbff8df 100644 --- a/chapter-B.21-cookie/main.go +++ b/chapter-B.21-cookie/main.go @@ -2,9 +2,10 @@ package main import ( "fmt" - "github.com/novalagung/gubrak" "net/http" "time" + + "github.com/novalagung/gubrak/v2" ) type M map[string]interface{} diff --git a/chapter-B.22-configuration-file/go.mod b/chapter-B.22-configuration-file/go.mod new file mode 100644 index 0000000..da3d999 --- /dev/null +++ b/chapter-B.22-configuration-file/go.mod @@ -0,0 +1,3 @@ +module chapter-B.22-configuration-file + +go 1.14 diff --git a/chapter-B.22-configuration-file/main.go b/chapter-B.22-configuration-file/main.go index ffa199b..f52ef6c 100644 --- a/chapter-B.22-configuration-file/main.go +++ b/chapter-B.22-configuration-file/main.go @@ -6,7 +6,7 @@ import ( "net/http" "time" - "dasarpemrogramangolang/chapter-B.22-configuration-file/conf" + "chapter-B.22-configuration-file/conf" ) type CustomMux struct { diff --git a/chapter-B.23-handle-cancelled-http-request/1-handle-cancelled-request.go.temp b/chapter-B.23-handle-cancelled-http-request/1-handle-cancelled-request.go similarity index 100% rename from chapter-B.23-handle-cancelled-http-request/1-handle-cancelled-request.go.temp rename to chapter-B.23-handle-cancelled-http-request/1-handle-cancelled-request.go