package main import ( "fmt" entity "grpccanary/examples/grpcentity" "grpccanary/examples/jsonexample" "time" ) var port = ":8080" func main() { jsonexample.JsonParsingExample() } func grpcSample() { go entity.ServerRun(port) // Just to be sure that the server is running time.Sleep(1 * time.Second) fmt.Println("Client:") entity.ClientRun("localhost" + port) }