type golang.org/x/pkgsite/internal/godoc/dochtml.example
10 uses
golang.org/x/pkgsite/internal/godoc/dochtml (current package)
dochtml.go#L158: Examples []*example // for types and functions; empty for vars and consts
dochtml.go#L166: func packageToItems(p *doc.Package, exmap map[string][]*example) (consts, vars, funcs, types []*item) {
dochtml.go#L192: func funcsToItems(fs []*doc.Func, hclass, typeName string, exmap map[string][]*example) []*item {
dochtml.go#L221: func typeToItem(t *doc.Type, exmap map[string][]*example) *item {
dochtml.go#L348: List []*example // sorted by ParentID
dochtml.go#L349: Map map[string][]*example // keyed by top-level ID (e.g., "NewRing" or "PubSub.Receive") or empty string for package examples
dochtml.go#L353: type example struct {
dochtml.go#L362: func (ex *example) Code() interface{} {
dochtml.go#L402: Map: make(map[string][]*example),
dochtml.go#L406: ex0 := &example{
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |