Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/adonovan/gopl.io
/ Example_array
Function
Example_array
ch12/display/display_test.go:85–91 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
83
}
84
85
func
Example_array() {
86
Display(
"x"
, [1]
interface
{}{3})
87
// Output:
88
// Display x ([1]interface {}):
89
// x[0].type = int
90
// x[0].value = 3
91
}
92
93
func
Example_movie() {
94
//!+movie
Callers
nothing calls this directly
Calls
1
Display
Function · 0.85
Tested by
no test coverage detected