Documentation
¶
Overview ¶
Pulling out some of the repeated strings tokens into constants would harm readability, so we just ignore the goconst linter's warning.
nolint: lll, goconst
Pulling out some of the repeated strings tokens into constants would harm readability, so we just ignore the goconst linter's warning.
nolint: lll, goconst
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConstructorParam ¶ added in v1.12.1
type ConstructorParam struct {
Name string
Type PropertyType
// This is the language specific optional type indicator.
// For example, in nodejs this is the character "?" and in Go
// it's "*".
OptionalFlag string
DefaultValue string
}
ConstructorParam represents the formal parameters of a constructor.
type DocNestedType ¶ added in v1.12.1
type DocNestedType struct {
Name string
APIDocLinks map[string]string
Properties map[string][]Property
}
DocNestedType represents a complex type.
type Header ¶ added in v1.12.1
type Header struct {
Title string
}
Header represents the header of each resource markdown file.
type Property ¶ added in v1.12.1
type Property struct {
Name string
Comment string
Type PropertyType
DeprecationMessage string
IsRequired bool
// IsInput is a flag to indicate if a property is an input
// property.
IsInput bool
}
Property represents an input or an output property.
type PropertyType ¶ added in v1.12.1
type PropertyType struct {
Name string
// Link can be a link to an anchor tag on the same
// page, or to another page/site.
Link string
}
PropertyType represents the type of a property.
Click to show internal directories.
Click to hide internal directories.