Documentation
¶
Index ¶
- func GenerateID() int64
- func Learn01()
- func Learn02()
- func Learn03()
- func Learn04()
- func Learn05()
- func Learn06()
- func Learn07()
- func Learn08()
- func Learn09()
- func Learn10()
- func Learn11()
- func Learn12()
- func Learn13()
- func Learn14()
- func Learn15()
- func Learn16()
- func Learn17()
- func Learn18()
- func Learn19()
- func Learn20()
- func Learn21()
- func Learn22()
- func Learn23()
- func Learn24()
- func ProtectRun(entry func())
- type Cat
- type ChipType
- type Data
- type FuncCaller
- type InnerData
- type Invoker
- type Struct
- type Test
- type TestInterface
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateID ¶
func GenerateID() int64
Types ¶
type Cat ¶
type Cat struct { // 带有结构体tag的字段 Type int `json:"type" id:"100"` // contains filtered or unexported fields }
type FuncCaller ¶
type FuncCaller func(interface{})
函数定义为类型
func (FuncCaller) Call ¶
func (f FuncCaller) Call(p interface{})
type Invoker ¶
type Invoker interface {
//调用时会传入一个 interface{} 类型的变量,这种类型的变量表示任意类型的值
Call(interface{})
}
type TestInterface ¶
type TestInterface interface {
// contains filtered or unexported methods
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.