-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Fix deprecated
io/ioutil
change ioutil.WriteFile
to `os…
….WriteFile`, `ioutil.ReadFile` to `os.ReadFile`, `ioutil.ReadAll` to `io.ReadAll`
- Loading branch information
afifurrohman-id
committed
Nov 4, 2023
1 parent
2a3e80e
commit e8e1c97
Showing
22 changed files
with
74 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,7 @@ _testmain.go | |
*.exe | ||
*.test | ||
*.prof | ||
|
||
# IDE | ||
.idea | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
module chapter-c29 | ||
|
||
go 1.21.3 | ||
|
||
require github.com/golang/protobuf v1.3.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,74 @@ | ||
module chapter-c30 | ||
|
||
go 1.21.3 | ||
|
||
require ( | ||
github.com/golang/protobuf v1.3.2 | ||
google.golang.org/grpc v1.26.0 | ||
) | ||
|
||
require ( | ||
cloud.google.com/go v0.50.0 // indirect | ||
cloud.google.com/go/bigquery v1.3.0 // indirect | ||
cloud.google.com/go/datastore v1.0.0 // indirect | ||
cloud.google.com/go/pubsub v1.1.0 // indirect | ||
cloud.google.com/go/storage v1.4.0 // indirect | ||
dmitri.shuralyov.com/gpu/mtl v0.0.0-20191203043605-d42048ed14fd // indirect | ||
github.com/BurntSushi/toml v0.3.1 // indirect | ||
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802 // indirect | ||
github.com/census-instrumentation/opencensus-proto v0.2.1 // indirect | ||
github.com/chzyer/logex v1.1.10 // indirect | ||
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect | ||
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1 // indirect | ||
github.com/client9/misspell v0.3.4 // indirect | ||
github.com/creack/pty v1.1.9 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/envoyproxy/go-control-plane v0.9.1 // indirect | ||
github.com/envoyproxy/protoc-gen-validate v0.1.0 // indirect | ||
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1 // indirect | ||
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72 // indirect | ||
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect | ||
github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7 // indirect | ||
github.com/golang/protobuf v1.3.2 | ||
github.com/golang/mock v1.3.1 // indirect | ||
github.com/google/btree v1.0.0 // indirect | ||
github.com/google/go-cmp v0.3.1 // indirect | ||
github.com/google/martian v2.1.0+incompatible // indirect | ||
github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc // indirect | ||
github.com/google/renameio v0.1.0 // indirect | ||
github.com/googleapis/gax-go/v2 v2.0.5 // indirect | ||
github.com/hashicorp/golang-lru v0.5.3 // indirect | ||
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6 // indirect | ||
github.com/jstemmer/go-junit-report v0.9.1 // indirect | ||
github.com/kisielk/gotool v1.0.0 // indirect | ||
github.com/kr/pretty v0.1.0 // indirect | ||
github.com/kr/pty v1.1.8 // indirect | ||
github.com/kr/text v0.1.0 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/prometheus/client_model v0.1.0 // indirect | ||
github.com/rogpeppe/go-internal v1.5.1 // indirect | ||
github.com/stretchr/objx v0.2.0 // indirect | ||
github.com/stretchr/testify v1.4.0 // indirect | ||
go.opencensus.io v0.22.2 // indirect | ||
golang.org/x/crypto v0.0.0-20191227163750-53104e6ec876 // indirect | ||
golang.org/x/exp v0.0.0-20191227195350-da58074b4299 // indirect | ||
golang.org/x/image v0.0.0-20191214001246-9130b4cfad52 // indirect | ||
golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f // indirect | ||
golang.org/x/mobile v0.0.0-20191210151939-1a1fef82734d // indirect | ||
golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee // indirect | ||
golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 // indirect | ||
golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6 // indirect | ||
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e // indirect | ||
golang.org/x/sys v0.0.0-20191224085550-c709ea063b76 // indirect | ||
golang.org/x/text v0.3.2 // indirect | ||
golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect | ||
golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4 // indirect | ||
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 // indirect | ||
google.golang.org/api v0.15.0 // indirect | ||
google.golang.org/appengine v1.6.5 // indirect | ||
google.golang.org/genproto v0.0.0-20191223191004-3caeed10a8bf // indirect | ||
google.golang.org/grpc v1.26.0 | ||
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect | ||
gopkg.in/errgo.v2 v2.1.0 // indirect | ||
gopkg.in/yaml.v2 v2.2.7 // indirect | ||
honnef.co/go/tools v0.0.1-2019.2.3 // indirect | ||
rsc.io/binaryregexp v0.2.0 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
module chapter-c33 | ||
|
||
go 1.21.3 | ||
|
||
require github.com/go-ldap/ldap v0.0.0-20191214221535-a4f79d8a7cda | ||
|
||
require ( | ||
github.com/go-ldap/ldap v0.0.0-20191214221535-a4f79d8a7cda | ||
github.com/go-asn1-ber/asn1-ber v1.3.1 // indirect | ||
github.com/go-ldap/ldap/v3 v3.1.5 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.