Documentation ¶
Index ¶
Constants ¶
View Source
const MetadataVersion = 2
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Function ¶
type FunctionMap ¶
func (*FunctionMap) SortedKeys ¶
func (m *FunctionMap) SortedKeys() []string
type Metadata ¶
type Metadata struct { Plugin string `json:"plugin"` Module string `json:"module"` SDK string `json:"sdk"` BuildId string `json:"buildId"` BuildTime string `json:"buildTs"` GitRepo string `json:"gitRepo,omitempty"` GitCommit string `json:"gitCommit,omitempty"` FnExports FunctionMap `json:"fnExports,omitempty"` FnImports FunctionMap `json:"fnImports,omitempty"` Types TypeMap `json:"types,omitempty"` }
func NewMetadata ¶
func NewMetadata() *Metadata
func (*Metadata) GetImports ¶
type TypeDefinition ¶
type TypeDefinition struct { Id uint32 `json:"id"` Name string `json:"-"` Fields []*Field `json:"fields,omitempty"` Docs *Docs `json:"docs,omitempty"` }
func (*TypeDefinition) String ¶
func (t *TypeDefinition) String(m *Metadata) string
Click to show internal directories.
Click to hide internal directories.