Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/adonovan/gopl.io
/ Display
Function
Display
ch12/display/display.go:17–20 ·
view source on GitHub ↗
!+Display
(name string, x interface{})
Source
from the content-addressed store, hash-verified
15
//!+Display
16
17
func
Display(name string, x
interface
{}) {
18
fmt.Printf(
"Display %s (%T):\n"
, name, x)
19
display(name, reflect.ValueOf(x))
20
}
21
22
//!-Display
23
Callers
10
Example_expr
Function · 0.85
Example_slice
Function · 0.85
Example_nilInterface
Function · 0.85
Example_ptrToInterface
Function · 0.85
Example_struct
Function · 0.85
Example_interface
Function · 0.85
Example_ptrToInterface2
Function · 0.85
Example_array
Function · 0.85
Example_movie
Function · 0.85
Test
Function · 0.85
Calls
1
display
Function · 0.85
Tested by
10
Example_expr
Function · 0.68
Example_slice
Function · 0.68
Example_nilInterface
Function · 0.68
Example_ptrToInterface
Function · 0.68
Example_struct
Function · 0.68
Example_interface
Function · 0.68
Example_ptrToInterface2
Function · 0.68
Example_array
Function · 0.68
Example_movie
Function · 0.68
Test
Function · 0.68