We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdcc433 commit ebc5364Copy full SHA for ebc5364
new/client/templates/wrappers/main.go.tmpl
@@ -42,7 +42,7 @@ func main() {
42
43
fmt.Println("GameID:", game.Id)
44
45
- game.OnCGErrorEvent(func(origin tictactoesimple.Player, data cg.ErrorEventData) {
+ game.OnCGErrorEvent(func(origin {{.PackageName}}.Player, data cg.ErrorEventData) {
46
fmt.Println("error:", data.Message)
47
})
48
0 commit comments