component APIDocs(t reflect.Type, examples []string, fields []*utils.APIField) .api-docs-page h1= t.Name() h2 Examples if len(examples) == 0 p.no-data No examples available yet. else .buttons each example in examples a.button(href=example, target="_blank") Icon("external-link") span= strings.TrimPrefix(example, "/api") h2 Fields table thead tr th Field th Type tbody each field in fields tr.api-field td.api-field-json(title=field.Name + " (Go)")= field.JSON td.api-field-type= field.Type .corner-buttons a.button(href="/api") Icon("code") span Overview