format the code
This commit is contained in:
@ -24,7 +24,7 @@ Some examples are at `/cmd` folder.
|
|||||||
|
|
||||||
# Getting start
|
# Getting start
|
||||||
After you install golang tools:
|
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.
|
- 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.
|
See `/bot` folder to get more infomation about how to create your own robot.
|
@ -1,3 +1,4 @@
|
|||||||
|
// Useage: go run cmd/ping/ping.go localhost
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
Reference in New Issue
Block a user