format the code

This commit is contained in:
Tnze
2019-05-29 21:34:58 +08:00
parent ec50ada707
commit 778caf1a40
4 changed files with 4 additions and 3 deletions

View File

@ -24,7 +24,7 @@ Some examples are at `/cmd` folder.
# Getting start
After you install golang tools:
- Run `go run cmd/ping/ping.go` to ping and list the Miaoscraft mc-server.
- Run `go run cmd/ping/ping.go localhost` to ping and list the Miaoscraft mc-server.
- Run `go run cmd/daze/daze.go` to join local server at *localhost:25565* as Steve on offline mode.
See `/bot` folder to get more infomation about how to create your own robot.

View File

@ -1,3 +1,4 @@
// Useage: go run cmd/ping/ping.go localhost
package main
import (