stub a client

trunk
vilmibm 2022-07-07 17:12:22 -05:00
parent b1b2396578
commit b21c0788fa
2 changed files with 22 additions and 0 deletions

21
client/cmd/main.go 100644
View File

@ -0,0 +1,21 @@
package main
import (
"fmt"
"log"
)
func _main() error {
fmt.Println("lol TODO make a client")
// TODO do a ping against server
return nil
}
func main() {
err := _main()
if err != nil {
log.Fatal(err.Error())
}
}

View File

@ -79,6 +79,7 @@ func (s *gameWorldServer) Register(ctx context.Context, auth *proto.AuthInfo) (*
func main() {
err := _main()
if err != nil {
log.Fatal(err.Error())
fmt.Fprintln(os.Stderr, err.Error())
os.Exit(1)
}