doc

package
v0.0.0-...-a2101d5 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2016 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Doc

func Doc(input []string, output string)

func ReadRsc

func ReadRsc(file string) string

Types

type FunctionData

type FunctionData struct {
	Name        string
	Sig         string
	Description string
	Example     interface{}
	Source      interface{}
}

type FunctionDoc

type FunctionDoc struct {
	// contains filtered or unexported fields
}

func (*FunctionDoc) Data

func (f *FunctionDoc) Data() FunctionData

func (*FunctionDoc) HasMeta

func (f *FunctionDoc) HasMeta(name string) bool

func (*FunctionDoc) Meta

func (f *FunctionDoc) Meta(name string) string

func (*FunctionDoc) String

func (f *FunctionDoc) String() string

type GroupData

type GroupData struct {
	Group     string
	GroupID   string
	Functions *[]FunctionData
}

func NewGroupData

func NewGroupData(name string) GroupData

func (GroupData) AddFunctionData

func (g GroupData) AddFunctionData(fd FunctionData)

func (GroupData) Len

func (g GroupData) Len() int

Allow sorting functions by name

func (GroupData) Less

func (g GroupData) Less(i, j int) bool

func (GroupData) Swap

func (g GroupData) Swap(i, j int)

type GroupDatas

type GroupDatas []GroupData

Allow sorting GroupDatas by name

func (*GroupDatas) Add

func (g *GroupDatas) Add(val GroupData)

func (GroupDatas) Len

func (g GroupDatas) Len() int

func (GroupDatas) Less

func (g GroupDatas) Less(i, j int) bool

func (GroupDatas) Swap

func (g GroupDatas) Swap(i, j int)

Jump to

Keyboard shortcuts

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