funcs

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	F1 func()
	F2 Func
	F3 S1
	F4 S2
	F5 []func()
	F6 []Func
	F7 [2]func()
	F8 [3]Func
)

Functions

This section is empty.

Types

type FunStruct

type FunStruct struct {
	FieldI int
	FieldS string
}

func (*FunStruct) CallBack

func (fs *FunStruct) CallBack(i int, fun func(fs *FunStruct, i int, s string))

func (*FunStruct) CallBackIf

func (fs *FunStruct) CallBackIf(i int, fun RecvFunc)

func (*FunStruct) CallBackRval

func (fs *FunStruct) CallBackRval(i int, fun func(fs *FunStruct, i int, v interface{}) bool)

func (*FunStruct) ObjArg

func (fs *FunStruct) ObjArg(ofs *FunStruct)

func (*FunStruct) OtherMeth

func (fs *FunStruct) OtherMeth(i int, s string)

type Func

type Func func()

type RecvFunc

type RecvFunc func(fs *FunStruct, i int, v interface{})

type S1

type S1 struct {
	F1 Func
	F2 []Func
	F3 [4]Func
}

type S2

type S2 struct {
	F1 func()
	F2 []func()
	F3 [5]func()
}

Jump to

Keyboard shortcuts

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