Skip to content

Commit

Permalink
go: remove unnecessary deps
Browse files Browse the repository at this point in the history
  • Loading branch information
lithdew committed Jun 11, 2020
1 parent e7e9556 commit 2cc98eb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
7 changes: 1 addition & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,13 @@ replace github.com/lithdew/kademlia => ../kademlia

require (
github.com/BurntSushi/toml v0.3.1
github.com/davecgh/go-spew v1.1.1
github.com/jpillora/backoff v1.0.0
github.com/json-iterator/go v1.1.10
github.com/julienschmidt/httprouter v1.3.0
github.com/lithdew/bytesutil v0.0.0-20200409052507-d98389230a59
github.com/lithdew/kademlia v0.0.0-20200607181215-ff07ba2ac940
github.com/lithdew/monte v0.0.0-20200611093340-15ff088304c9
github.com/oasislabs/ed25519 v0.0.0-20200302143042-29f6767a7c3e
github.com/stretchr/testify v1.6.0
github.com/valyala/bytebufferpool v1.0.0
go.uber.org/goleak v1.0.0
golang.org/x/crypto v0.0.0-20191119213627-4f8c1d86b1ba
github.com/stretchr/testify v1.6.0 // indirect
golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980 // indirect
golang.org/x/tools v0.0.0-20200522201501-cb1345f3a375 // indirect
)
4 changes: 0 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/lithdew/bytesutil v0.0.0-20200409052507-d98389230a59 h1:CQpoOQecHxhvgOU/ijue/yWuShZYDtNpI9bsD4Dkzrk=
github.com/lithdew/bytesutil v0.0.0-20200409052507-d98389230a59/go.mod h1:89JlULMIJ/+YWzAp5aHXgAD2d02S2mY+a+PMgXDtoNs=
github.com/lithdew/monte v0.0.0-20200611022530-909501eb337f h1:YPz9qZqsCUN1Isg3g2kcUlPoXpPSGH14Rzw4fD0BySM=
github.com/lithdew/monte v0.0.0-20200611022530-909501eb337f/go.mod h1:qisbxmkjwkE+XOLjCiJe+z1U4f95XxF5Hfrk21Rb1yc=
github.com/lithdew/monte v0.0.0-20200611024153-24be2899951e h1:dbGHVpvd/U8mBgkoj0eiFJ/us2k5OKqE7hQgdR4Zh4s=
github.com/lithdew/monte v0.0.0-20200611024153-24be2899951e/go.mod h1:qisbxmkjwkE+XOLjCiJe+z1U4f95XxF5Hfrk21Rb1yc=
github.com/lithdew/monte v0.0.0-20200611093340-15ff088304c9 h1:XmfrU1ZyBDuiZ2/UUhG6P2WvO4DOZxLlhQyd0F71UTw=
github.com/lithdew/monte v0.0.0-20200611093340-15ff088304c9/go.mod h1:qisbxmkjwkE+XOLjCiJe+z1U4f95XxF5Hfrk21Rb1yc=
github.com/lithdew/reliable v0.0.0-20200506103725-7df64908b057 h1:CBhKVPym/7ZzY7ascOG93XSTlJuqrmIU/Hd0UDHC1TA=
Expand Down
2 changes: 1 addition & 1 deletion ts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ class Client {
const packet = RequestPacket.decode(frame);
const body = JSON.parse(packet.data.toString("utf8"));

console.log(body);
// console.log(body);

this.reply(seq, packet.data);
} else {
Expand Down

0 comments on commit 2cc98eb

Please sign in to comment.