Documentation ¶
Overview ¶
This is a file documentation.
Index ¶
Constants ¶
View Source
const ( ConstBlock1 uint32 = 7 ConstBlock2 float32 = 1.0 )
This is a block comment.
View Source
const ( Iota1 = iota + 1 Iota2 Iota3 )
View Source
const ConstInt = 5 // This is inline comment.
View Source
const ConstString = "this is string const"
This is a comment for string constant
Variables ¶
View Source
var ( BlockVarA = func(string) string { return "" } BlockVarB chan error BlockVarC func(string) string = BlockVarA )
Block comment of variables.
View Source
var VarA string
View Source
var VarB = "var b"
View Source
var VarC string = "var c"
Functions ¶
func FunctionOne ¶
func FunctionTwo ¶
Types ¶
type InterfaceOne ¶
type StructOne ¶
type StructOne struct { ExportedField string FieldWithTags int `json:"field_with_tags" sometag:"param1,param2,param3"` // Documentation of complex field. ComplexField chan<- *[]**map[interface { InterfaceMethod(uint, ...complex64) }]func(int, string, [7]byte) (complex64, error) // Inline comment of complex field. // contains filtered or unexported fields }
type StructThree ¶
type StructTwo ¶
type StructTwo struct { FieldOne thisisstubalias.ThisIsStubStructure FieldTwo []thisisstubalias.ThisIsStubStructure FieldThree *StructTwo FieldFour []StructTwo }
Click to show internal directories.
Click to hide internal directories.