Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/inancgumus/learngo
/ toy
Struct
toy
interfaces/06-empty-interface/toy.go:13–16 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
11
import
"fmt"
12
13
type
toy
struct
{
14
title string
15
price money
16
}
17
18
func
(t *toy) print() {
19
fmt.Printf(
"%-15s: %s\n"
, t.title, t.price.string())
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected