Versions in this module Expand all Collapse all v0 v0.0.2 Feb 15, 2024 v0.0.1 Feb 15, 2024 Changes in this version + const DefaultExampleHost + const DefaultFieldNameTag + const DefaultOutputName + const DefaultPageTitle + const DefaultRootPath + const DefaultTCPListenPort + var DefaultSnippetTypes = []SnippetType + func Compile(c Config, toc TOC) error + func DefaultFieldSetting(s reflect.StructField, t reflect.Type) (label, text string, ok bool) + func SourceURLFunc(local, remote string) (f func(filename string, line int) (url string)) + type Article struct + Code interface{} + LoadExpanded bool + SubArticles []*Article + TestGroups []*httptest.TestGroup + Text interface{} + Title string + Type string + type ArticleGroup struct + Articles []*Article + LoadExpanded bool + Name string + type Config struct + CustomCSSFile string + ExampleHost string + FieldNameTag string + FieldSetting func(field reflect.StructField, structType reflect.Type) (label, text string, ok bool) + FieldType func(field reflect.StructField) (typeName string, ok bool) + FieldValidation func(field reflect.StructField, structType reflect.Type) (text template.HTML) + GOARCH string + GOOS string + OutputDir string + OutputName string + OutputPackage bool + PageTitle string + RootPath string + SidebarBannerHTML template.HTML + SigninPath string + SnippetTypes []SnippetType + SourceURL func(filename string, line int) (url string) + StripPrefix func(pattern string) string + TCPListenPort int + Users map[string]string + type HTML string + type HTMLer interface + HTML func() (HTML, error) + type SnippetType uint8 + const SNIPP_CURL + const SNIPP_HTTP + func (st SnippetType) Lang() string + func (st SnippetType) Name() string + type TOC []*ArticleGroup + type Value interface + type Valuer interface + Value func() (Value, error)