{{define "Head"}} {{template "PkgCmdHeader" $}} {{if sidebarEnabled}} {{end}} {{end}} {{define "Body"}} {{with .pdoc}} {{if sidebarEnabled}}
{{end}} {{template "ProjectNav" $}}

package {{.Name}}

import "{{.ImportPath}}" {{.Doc|comment}} {{template "Examples" .|$.pdoc.ObjExamples}}

Index

{{if .Truncated}}
The documentation displayed here is incomplete. Use the godoc command to read the complete documentation.
{{end}} {{with .AllExamples}}

Examples

{{else}} {{end}} {{template "PkgFiles" $}} {{if .Consts}}

Constants

{{range .Consts}}
{{$.pdoc.SourceLink .Pos "\u2756" false}}{{code .Decl nil}}
{{.Doc|comment}}{{end}} {{end}} {{if .Vars}}

Variables

{{range .Vars}}
{{$.pdoc.SourceLink .Pos "\u2756" false}}{{code .Decl nil}}
{{.Doc|comment}}{{end}} {{end}} {{if sidebarEnabled}}{{if .Funcs}}

Functions

{{end}}{{end}} {{range .Funcs}}

func {{$.pdoc.SourceLink .Pos .Name true}} {{$.pdoc.UsesLink "List Function Callers" .Name}}

{{$.pdoc.SourceLink .Pos "\u2756" false}}{{code .Decl nil}}
{{.Doc|comment}} {{template "Examples" .|$.pdoc.ObjExamples}} {{end}} {{if sidebarEnabled}}{{if .Types}}

Types

{{end}}{{end}} {{range $t := .Types}}

type {{$.pdoc.SourceLink .Pos .Name true}} {{$.pdoc.UsesLink "List Uses of This Type" .Name}}

{{$.pdoc.SourceLink .Pos "\u2756" false}}{{code .Decl $t}}
{{.Doc|comment}} {{range .Consts}}
{{$.pdoc.SourceLink .Pos "\u2756" false}}{{code .Decl nil}}
{{.Doc|comment}}{{end}} {{range .Vars}}
{{$.pdoc.SourceLink .Pos "\u2756" false}}{{code .Decl nil}}
{{.Doc|comment}}{{end}} {{template "Examples" .|$.pdoc.ObjExamples}} {{range .Funcs}}

func {{$.pdoc.SourceLink .Pos .Name true}} {{$.pdoc.UsesLink "List Function Callers" .Name}}

{{$.pdoc.SourceLink .Pos "\u2756" false}}{{code .Decl nil}}
{{.Doc|comment}} {{template "Examples" .|$.pdoc.ObjExamples}} {{end}} {{range .Methods}}

func ({{.Recv}}) {{$.pdoc.SourceLink .Pos .Name true}} {{$.pdoc.UsesLink "List Method Callers" .Orig .Recv .Name}}

{{$.pdoc.SourceLink .Pos "\u2756" false}}{{code .Decl nil}}
{{.Doc|comment}} {{template "Examples" .|$.pdoc.ObjExamples}} {{end}} {{end}} {{template "PkgCmdFooter" $}} {{if sidebarEnabled}}
{{end}} {{end}} {{end}} {{define "Examples"}} {{if .}}
{{range .}}
{{with .Example.Doc}}

{{.|comment}}{{end}}

Code:{{if .Play}}play {{end}} {{code .Example.Code nil}} {{with .Example.Output}}

Output:

{{.}}
{{end}}
{{end}}
{{end}} {{end}}