Documentation ¶
Index ¶
Constants ¶
View Source
const ( /* Multiline comment GroupConst1 Variables */ GroupConst1 = 1 // Single line comment on GroupConst2 GroupConst2 = "str" )
View Source
const SingleConst = "some string"
Single line comment on constant
Variables ¶
View Source
var ( // Single line comment on GroupVar1 GroupVar1 int GroupVar2 bool /* Multiline comment GroupSeveralVars1 and GroupSeveralVars2 Variables */ GroupSeveralVars1, GroupSeveralVars2 bool )
View Source
var SeveralVars1, SeveralVars2 string
Multiline comment on Variables
View Source
var SingleVar string
Functions ¶
Types ¶
type ExploreParentStructs ¶
type ExploreParentStructs struct { /*Adding some long comments Adding some long comments Adding some long comments Adding some long comments Adding some long comments Adding some long comments */ F struct { /*Adding some long comments Adding some long comments Adding some long comments Adding some long comments Adding some long comments Adding some long comments */ F struct { /*Adding some long comments Adding some long comments Adding some long comments Adding some long comments Adding some long comments Adding some long comments */ LookingFor int } } }
Adding some long comments
Adding some long comments Adding some long comments Adding some long comments Adding some long comments Adding some long comments
type ExploreParents ¶
type ExploreParents interface {
InternalMethod()
}
type GroupInterface1 ¶
type GroupInterface1 interface { GroupConst1() GroupConst2() }
@SomeMeta() single line comment
type GroupInterface2 ¶
type GroupInterface2 interface { GroupConst1() // Non top lavel node comment GroupConst2() }
type GroupStruct1 ¶
type GroupStruct1 struct {
GroupVar1 int
}
Several single line comments Several single line comments
type GroupStruct2 ¶
type GroupStruct2 struct { /* Multiline comment on GroupStruct2.GroupVar2 */ GroupVar2 int }
func (GroupStruct2) SomeMethod ¶
func (GroupStruct2) SomeMethod(b int) error
Multiline comment on SomeMethod Method
type SingleInterface ¶
type SingleInterface interface {
SingleConst()
}
SingleInterface single line comment
Click to show internal directories.
Click to hide internal directories.