Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mmcgrana/gobyexample
/ base
Struct
base
examples/struct-embedding/struct-embedding.go:11–13 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
9
import
"fmt"
10
11
type
base
struct
{
12
num int
13
}
14
15
func
(b base) describe() string {
16
return
fmt.Sprintf(
"base with num=%v"
, b.num)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected