MCPcopy Create free account

hub / github.com/cubxxw/awesome-go / functions

Functions333 in github.com/cubxxw/awesome-go

↓ 1 callersFunctionreadChan
只读管道
code/go-super/40-main.go:21
↓ 1 callersFunctionreadConf
(name string)
code/go-super/14-main.go:17
↓ 1 callersFunctionsetupRouter
()
code/code/gin/main.go:20
↓ 1 callersFunctionshow
(a interface{})
code/go-super/27-main.go:17
↓ 1 callersFunctionsortIndex
(arr []int)
code/go-super/16-main.go:14
↓ 1 callersMethodstart
实现接口
code/go-super/25-main.go:28
↓ 1 callersFunctionswitch2
使用switch语句,可以判断一个变量是什么类型
code/go-super/28-main.go:29
↓ 1 callersFunctiontest
()
code/go-super/45-main.go:22
↓ 1 callersFunctiontest
()
code/go-super/44-main.go:17
↓ 1 callersFunctiontest02
()
code/go-super/14-main.go:29
↓ 1 callersFunctiontest2
()
code/go-super/45-main.go:31
↓ 1 callersFunctiontest2
()
code/go-super/44-main.go:27
↓ 1 callersFunctiontestmain
()
code/go-super/74-main.go:21
↓ 1 callersFunctiontext
(a int)
code/go-super/18-main.go:5
↓ 1 callersFunctiontext
(n int)
code/go-super/36-main.go:11
↓ 1 callersFunctiontraverseListReverse2
反向遍历
code/code/list-valuea.go:68
↓ 1 callersFunctiontraverseListReverse2
反向遍历
code/code/设计模式/1.go:119
↓ 1 callersFunctionwriteChan
只写管道
code/go-super/40-main.go:34
FunctionAddOne
(object Object)
code/beego/apiproject/models/object.go:25
FunctionAddUser
(u User)
code/beego/apiproject/models/user.go:33
FunctionBanchmarkFoo
(b *testing.B)
code/gin/util_test/util_test.go:8
FunctionBenchmark
性能测试
code/go-test/util/util_test.go:45
FunctionDelete
(ObjectId string)
code/beego/apiproject/models/object.go:50
MethodDelete
@Title Delete @Description delete the object @Param objectId path string true "The objectId you want to delete" @Success 200 {string} delete succes
code/beego/apiproject/controllers/object.go:86
MethodDelete
@Title Delete @Description delete the user @Param uid path string true "The uid you want to delete" @Success 200 {string} delete success! @Failure
code/beego/apiproject/controllers/user.go:86
MethodDelete
()
code/beego/myproject/controllers/default.go:27
FunctionDeleteUser
(uid string)
code/beego/apiproject/models/user.go:84
MethodDeposit
deposit
code/go-super/80-main.go:18
MethodDeposit
deposit
code/go-super/80-main.go:37
MethodDrive
(car Car)
code/go-super/82-main.go:35
MethodDrive
(car Car)
code/go-super/82-main.go:44
MethodDrive
(car Car)
code/go-super/82-main.go:53
MethodEat
狗实现了吃的方法
code/code/interface/main.go:48
MethodEat
人实现了吃和睡的方法
code/code/interface/main.go:53
FunctionExecute
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the r
code/test/clid/cmd/root.go:45
FunctionExecute
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the r
code/code/cobra/clid3/cmd/root.go:43
FunctionExecute
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the r
code/code/cobra/clid/cmd/root.go:42
MethodGet
@Title Get @Description find object by objectid @Param objectId path string true "the objectid you want to get" @Success 200 {object} models.Object
code/beego/apiproject/controllers/object.go:35
MethodGet
()
code/beego/myproject/controllers/default.go:11
FunctionGetAll
()
code/beego/apiproject/models/object.go:38
MethodGetAll
@Title GetAll @Description get all objects @Success 200 {object} models.Object @Failure 403 :objectId is empty @router / [get]
code/beego/apiproject/controllers/object.go:53
MethodGetAll
@Title GetAll @Description get all Users @Success 200 {object} models.User @router / [get]
code/beego/apiproject/controllers/user.go:33
FunctionGetAllUsers
()
code/beego/apiproject/models/user.go:46
MethodGetInfo
()
code/go-super/51-main.go:33
MethodGetInfo
()
code/go-super/51-main.go:43
MethodGetName
()
code/go-super/31-main.go:35
MethodGetName
()
code/go-super/30-main.go:26
MethodGetNodes
GetNodes:GetNodes 用于获取 node 列表中的所有 node。
code/go-super/88-main.go:68
FunctionGetOne
(ObjectId string)
code/beego/apiproject/models/object.go:31
MethodGetPods
GetPods:GetPods 用于获取 pod 列表中的所有 pod。
code/go-super/88-main.go:63
FunctionGetUser
(uid string)
code/beego/apiproject/models/user.go:39
MethodHead
()
code/beego/myproject/controllers/default.go:31
FunctionLogin
(username, password string)
code/beego/apiproject/models/user.go:75
MethodLogin
@Title Login @Description Logs user into the system @Param username query string true "The username for login" @Param password query string true
code/beego/apiproject/controllers/user.go:100
MethodLogout
@Title logout @Description Logs out current logged in user session @Success 200 {string} logout success @router /logout [get]
code/beego/apiproject/controllers/user.go:115
FunctionParseDomainName
answer
code/go-super/77-main.go:40
MethodPost
@Title Create @Description create object @Param body body models.Object true "The object content" @Success 200 {string} models.Object.Id @Failure 4
code/beego/apiproject/controllers/object.go:21
MethodPost
@Title CreateUser @Description create users @Param body body models.User true "body for user content" @Success 200 {int} models.User.Id @Failure 40
code/beego/apiproject/controllers/user.go:21
MethodPost
()
code/beego/myproject/controllers/default.go:17
MethodPut
@Title Update @Description update the object @Param objectId path string true "The objectid you want to update" @Param body body models.Object tr
code/beego/apiproject/controllers/object.go:66
MethodPut
@Title Update @Description update the user @Param uid path string true "The uid you want to update" @Param body body models.User true "body for
code/beego/apiproject/controllers/user.go:65
MethodPut
()
code/beego/myproject/controllers/default.go:23
MethodRun
()
code/go-super/82-main.go:19
MethodRun
()
code/go-super/82-main.go:27
MethodRun
Mercedes
code/go-super/81-main.go:31
MethodSetFlags
(qr, opcode, aa, tc, rd, ra, z, rcode uint16)
code/go-super/77-main.go:27
MethodSetInfo
(name string, age int, score float64)
code/go-super/51-main.go:48
MethodSetName
(name string)
code/go-super/31-main.go:40
MethodSetName
(name string)
code/go-super/30-main.go:31
MethodSleep
人实现了吃和睡的方法
code/code/interface/main.go:58
MethodSleep
含羞草实现了睡的方法
code/code/interface/main.go:63
MethodStart
声明了两个没有实现的方法
code/go-super/26-main.go:26
MethodStart
让Phone 实现 Usb接口的方法
code/go-super/26-main.go:36
MethodStart
让Camera 实现 Usb接口的方法
code/go-super/26-main.go:48
MethodStop
()
code/go-super/26-main.go:27
MethodStop
()
code/go-super/26-main.go:40
MethodStop
()
code/go-super/26-main.go:52
MethodString
(name string)
code/go-super/85-main.go:14
MethodString
(name string)
code/go-super/85-main.go:22
MethodString
(name string)
code/go-super/85-main.go:30
MethodString
(name string)
code/go-super/85-main.go:38
MethodString
()
code/go-super/30-main.go:36
MethodTest
()
code/go-super/26-main.go:28
FunctionTestBeego
TestBeego is a sample to run an endpoint test
code/beego/myproject/tests/default_test.go:23
FunctionTestExact
精确测试
code/go-test/util/util_test.go:40
FunctionTestFoo
(t *testing.T)
code/gin/util_test/util_test.go:14
FunctionTestFuzzy
模糊测试
code/go-test/util/util_test.go:35
FunctionTestGet
TestGet is a sample to run an endpoint test
code/beego/apiproject/tests/default_test.go:22
FunctionTestMain
TestMain函数,用于测试前的初始化
code/go-test/util/util_test.go:55
FunctionTestParseSize
功能测试:主要验证功能是否正常
code/go-test/util/util_test.go:22
FunctionText
自定义模板函数
code/gin/main.go:17
FunctionText2
(title string, content string)
code/gin/main.go:22
MethodTransfer
Withdrawal
code/go-super/80-main.go:10
MethodTransfer
Transfer
code/go-super/80-main.go:28
FunctionUpdate
(ObjectId string, Score int64)
code/beego/apiproject/models/object.go:42
FunctionUpdateUser
(uid string, uu *User)
code/beego/apiproject/models/user.go:50
MethodWithdraw
deposit
code/go-super/80-main.go:9
MethodWithdraw
Withdrawal
code/go-super/80-main.go:23
MethodWithdraw
Withdrawal
code/go-super/80-main.go:42
Methodeat
(food string)
code/go-super/29-main.go:28
← previousnext →101–200 of 333, ranked by callers