full

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 License: MIT Imports: 3 Imported by: 0

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 FunctionOne(a string, b interface{}, c map[string]interface{}) (ctx context.Context, err error)

func FunctionTwo

func FunctionTwo(f func(string, func() error))

Types

type InterfaceOne

type InterfaceOne interface {
	InterfaceMethod(uint, ...complex64)
}

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 StructThree struct {
	StructTwo
	ExtendingField string
}

type StructTwo

type StructTwo struct {
	FieldOne   thisisstubalias.ThisIsStubStructure
	FieldTwo   []thisisstubalias.ThisIsStubStructure
	FieldThree *StructTwo
	FieldFour  []StructTwo
}

func (StructTwo) MethodOne

func (m StructTwo) MethodOne() string

type X

type X int

type Y

type Y string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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