delete outdated comments

This commit is contained in:
Tnze
2019-08-09 15:55:57 +08:00
parent 48ed1cf234
commit cd852a59b5
4 changed files with 6 additions and 8 deletions

View File

@ -12,14 +12,6 @@ import (
func main() {
c := bot.NewClient()
// For online-mode, you need login your Mojang account
// and load your Name and UUID to client:
//
// auth, err := yggdrasil.Authenticate("Your E-mail", "Your Password")
// if err != nil {
// panic(err)
// }
// c.Name, c.Auth.UUID, c.AsTk = auth.SelectedProfile.Name, auth.SelectedProfile.ID, auth.AccessToken
//Login
err := c.JoinServer("localhost", 25565)

View File

@ -1,6 +1,9 @@
# mcping
适用于Minecraft: Java Edition的ping工具
Install with go tools:
```go install github.com/Tnze/go-mc/cmd/mcping```
Install with Homebrew:
```brew tap Tnze/tap && brew install mcping```

1
go.mod
View File

@ -5,4 +5,5 @@ go 1.12
require (
github.com/google/uuid v1.1.1
github.com/mattn/go-colorable v0.1.2
github.com/satori/go.uuid v1.2.0 // indirect
)

2
go.sum
View File

@ -4,5 +4,7 @@ github.com/mattn/go-colorable v0.1.2 h1:/bC9yWikZXAL9uJdulbSfyVNIR3n3trXl+v8+1sx
github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
github.com/mattn/go-isatty v0.0.8 h1:HLtExJ+uU2HOZ+wI0Tt5DtUDrx8yhUqDcp7fYERX4CE=
github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
github.com/satori/go.uuid v1.2.0 h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww=
github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0=
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223 h1:DH4skfRX4EBpamg7iV4ZlCpblAHI6s6TDM39bFZumv8=
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=