MCPcopy
hub / github.com/inancgumus/learngo / game

Struct game

interfaces/06-empty-interface/game.go:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11import "fmt"
12
13type game struct {
14 title string
15 price money
16}
17
18func (g *game) print() {
19 fmt.Printf("%-15s: %s\n", g.title, g.price.string())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected