xdoc

package
v0.9.0-beta.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocInfo

type DocInfo struct {
	PackageDoc  string
	PackageName string
	Constants   Values
	Variables   Values
	Functions   Functions
	Structs     Structs
}

func New

func New(toDoc string) *DocInfo

type Function

type Function struct {
	Name string
	Doc  string
	// contains filtered or unexported fields
}

func (Function) Signature

func (sf Function) Signature() string

type Functions

type Functions map[string]*Function

func (Functions) SortedKeys

func (m Functions) SortedKeys() []string

type Struct

type Struct struct {
	Name         string
	Constructors Functions
	Methods      Functions
	Fields       []string
	Doc          string
}

type Structs

type Structs map[string]*Struct

func (Structs) SortedKeys

func (m Structs) SortedKeys() []string

type Value

type Value struct {
	Name       string
	Value      string
	IsConstant bool
	Doc        string
}

func (Value) Signature

func (sv Value) Signature() string

type Values

type Values map[string]*Value

func (Values) SortedKeys

func (m Values) SortedKeys() []string

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL