fixtures

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 1 Imported by: 0

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

func SomeFunction

func SomeFunction(a int) error

Single line comment on SomeFunction

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

type SingleStruct

type SingleStruct struct {
	SingleVar int
}

multiline comment new line

Jump to

Keyboard shortcuts

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