MCPcopy Create free account

hub / github.com/armstrongli/learn.go / functions

Functions644 in github.com/armstrongli/learn.go

↓ 28 callersMethodSub
()
chapter04/03-calculator/calculator.funcs.go:14
↓ 22 callersMethodLock
()
chapter05/04.thetrap/door.go:7
↓ 21 callersMethodClose
()
chapter05/04.thetrap/door.go:6
↓ 21 callersMethodUnlock
()
chapter05/04.thetrap/door.go:4
↓ 17 callersMethodAdd
()
chapter04/03-calculator/calculator.funcs.go:7
↓ 11 callersFunctioninputRecord
(name string, fatRate ...float64)
chapter03/003.tdd/main.go:12
↓ 11 callersMethodinputRecord
(name string, fatRate ...float64)
chapter04/05-objrank/main.go:17
↓ 10 callersMethodBMI
(person *apis.PersonalInformation)
chapter08/03.format/calc.go:14
↓ 10 callersFunctiongetRand
(name string)
chapter03/003.tdd/main.go:22
↓ 10 callersMethodgetRank
(name string)
chapter04/05-objrank/main.go:44
↓ 8 callersMethodRead
()
chapter05/02.filesystem/main.go:27
↓ 7 callersMethodOpen
()
chapter05/01.charac/main.go:84
↓ 6 callersMethodRun
(startPointWg, wg *sync.WaitGroup)
chapter06/06.sync.wg/waitgroup.go:14
↓ 6 callersFunctioncalcSum
(nums ...int)
chapter02/018.funcs/closure_sum.go:9
↓ 5 callersMethodRegister
(ctx context.Context, in *PersonalInformation, opts ...grpc.CallOption)
pkg/apis/types.pb.go:345
↓ 5 callersFunctioncalcAdd
()
chapter02/018.funcs/main.go:99
↓ 5 callersFunctioninsertNode
(root *LinkNode, newNode *LinkNode)
chapter07/04.link-double-direction/link-double-direction.go:29
↓ 4 callersFunctionGetFatRateSuggestion
()
chapter05/05-fatrate/suggestion.go:3
↓ 4 callersMethodGetTop
(ctx context.Context, in *Null, opts ...grpc.CallOption)
pkg/apis/types.pb.go:348
↓ 4 callersMethodPop
()
chapter07/02.stack/main.go:15
↓ 4 callersMethodPop
()
chapter07/01.queue/main.go:19
↓ 4 callersMethodPush
(data interface{})
chapter07/01.queue/main.go:13
↓ 4 callersMethodSend
(*PersonalInformation)
pkg/apis/types.pb.go:584
↓ 4 callersMethodString
()
pkg/apis/types.pb.go:33
↓ 4 callersFunctioncollectPrime
(start int, end int)
chapter06/02.prime/prime_test.go:78
↓ 4 callersFunctiongetPointXYFromInput
()
chapter01/00-homework/1-lines/main.go:20
↓ 4 callersFunctioninsertNode
(root *LinkNode, newNode *LinkNode)
chapter07/03.link-single-direction/link-single-direction.go:99
↓ 4 callersFunctionmidSearch
todo 也可以使用for循环实现遍历
chapter07/11.tree.search/middle.go:4
↓ 4 callersFunctionpostSearch
todo 也可以使用for循环实现遍历
chapter07/11.tree.search/post.go:4
↓ 4 callersFunctionpreSearch
todo 也可以使用for循环实现遍历
chapter07/11.tree.search/pre.go:4
↓ 4 callersFunctionsearch
(arrP *[]int64, targetNum int64)
chapter07/09.search.seq/search.seq.go:35
↓ 4 callersFunctionsearch
(arrP *[]int64, targetNum int64)
chapter07/10.search.harf/harf.go:46
↓ 3 callersFunctionGetFatRateSuggestion
()
chapter04/04-fatrate/suggestion.go:3
↓ 3 callersMethodGetSuggestion
(person *Person)
chapter04/04-fatrate/suggestion.go:36
↓ 3 callersMethodGetSuggestion
(person *Person)
chapter05/05-fatrate/suggestion.go:36
↓ 3 callersMethodPush
(data interface{})
chapter07/02.stack/main.go:11
↓ 3 callersMethodString
()
chapter13/03.grpc-attention/types.pb.go:41
↓ 3 callersMethodUpdatePersonalInformation
(pi *apis.PersonalInformation)
chapter13/02.grpc/server/frinterface/interface.go:9
↓ 3 callersFunctiondeleteNode
(root *LinkNode, data int)
chapter07/03.link-single-direction/link-single-direction.go:73
↓ 3 callersFunctioninsertNode
(root *Node, newNode *Node)
chapter07/11.tree.search/main.go:27
↓ 3 callersFunctionrangeLink
(root *LinkNode)
chapter07/03.link-single-direction/link-single-direction.go:123
↓ 3 callersMethodregPerson
(pi *apis.PersonalInformation)
chapter13/02.grpc/server/rank-service.go:37
↓ 2 callersMethodBMI
(person *Person)
chapter04/04-fatrate/calc.go:13
↓ 2 callersFunctionCalcBMI
(tall float64, weight float64)
chapter02/015.fatrate.refactor/calc/calc_bmi.go:7
↓ 2 callersMethodCloseTheDoorOfRefrigerator
(Refrigerator)
chapter05/01.charac/main.go:47
↓ 2 callersMethodDistribute
()
chapter04/06-specialtypes/type1.go:76
↓ 2 callersMethodGetFatRate
(ctx context.Context, in *PersonalInformation, opts ...grpc.CallOption)
pkg/apis/types.pb.go:347
↓ 2 callersMethodGetFatRate
(name string)
chapter12/02.practice/frinterface/interface.go:10
↓ 2 callersMethodGetFatRate
(name string)
chapter13/02.grpc/server/frinterface/interface.go:10
↓ 2 callersMethodGetInput
()
chapter05/05-fatrate/interface.go:4
↓ 2 callersMethodGetTop
()
chapter12/02.practice/frinterface/interface.go:11
↓ 2 callersMethodGetTop
()
chapter13/02.grpc/server/frinterface/interface.go:11
↓ 2 callersMethodGiveSuggestionToPerson
(person *Person)
chapter04/04-fatrate/frservice.go:11
↓ 2 callersMethodGiveSuggestionToPerson
(person *Person)
chapter05/05-fatrate/frservice.go:13
↓ 2 callersFunctionList
(ctx context.Context, cli client.APIClient, labels map[string]string)
pkg/dockertool/list.go:19
↓ 2 callersFunctionNewRankServiceClient
(cc *grpc.ClientConn)
pkg/apis/types.pb.go:357
↓ 2 callersMethodOpenTheDoorOfRefrigerator
(Refrigerator)
chapter05/01.charac/main.go:45
↓ 2 callersMethodPutElephantIntoRefrigerator
(Elephant, Refrigerator)
chapter05/01.charac/main.go:46
↓ 2 callersMethodReadPersonalInformation
()
chapter12/02.practice/client/interface.go:11
↓ 2 callersMethodRecv
()
pkg/apis/types.pb.go:447
↓ 2 callersMethodRegisterPersonalInformation
(pi *apis.PersonalInformation)
chapter12/02.practice/frinterface/interface.go:8
↓ 2 callersMethodRegisterPersonalInformation
(pi *apis.PersonalInformation)
chapter13/02.grpc/server/frinterface/interface.go:8
↓ 2 callersMethodRegisterPersons
(ctx context.Context, opts ...grpc.CallOption)
pkg/apis/types.pb.go:349
↓ 2 callersFunctionRun
(ctx context.Context, cli client.APIClient, labels map[string]string, image string, cmd []string)
pkg/dockertool/run.go:11
↓ 2 callersMethodUpdate
(ctx context.Context, in *PersonalInformation, opts ...grpc.CallOption)
pkg/apis/types.pb.go:346
↓ 2 callersMethodUpdatePersonalInformation
(pi *apis.PersonalInformation)
chapter12/02.practice/frinterface/interface.go:9
↓ 2 callersMethodWatchPersons
(ctx context.Context, in *Null, opts ...grpc.CallOption)
pkg/apis/types.pb.go:350
↓ 2 callersFunctioncalculateK
(y2, y1, x2, x1 float64)
chapter01/00-homework/1-lines/main.go:29
↓ 2 callersFunctioncoverPanicUpgraded
()
chapter02/018.funcs/panic_recover.go:28
↓ 2 callersFunctiondeleteNode
(root *Node, v int)
chapter07/05.tree/tree.go:74
↓ 2 callersFunctiondeleteNode
(root *LinkNode, v int)
chapter07/04.link-double-direction/link-double-direction.go:67
↓ 2 callersFunctionhelloToSomeone
(name string)
chapter02/014.func.def/main.go:19
↓ 2 callersMethodinputRecord
(name, sex string, fatRate ...float64)
chapter12/03.gin/03.practice/server/rank.go:72
↓ 2 callersMethodinputRecord
(name, sex string, fatRate ...float64)
chapter12/02.practice/server/rank.go:72
↓ 2 callersMethodinputRecord
(name, sex string, fatRate ...float64)
chapter13/02.grpc/server/ranks/rank.go:72
↓ 2 callersFunctioninsertNode
(root *Node, newNode *Node)
chapter07/05.tree/tree.go:26
↓ 2 callersFunctionisPrime
(num int)
chapter06/02.prime/prime_test.go:24
↓ 2 callersFunctionmergeArr
(left, right []int)
chapter07/07.sort.merge/merge.go:18
↓ 2 callersFunctionrangeLink
(root *LinkNode)
chapter07/04.link-double-direction/link-double-direction.go:108
↓ 1 callersMethodAddNumber
线程安全的加数据
chapter07/12.q_a/general.lock.go:19
↓ 1 callersMethodBMI
(person *Person)
chapter05/05-fatrate/calc.go:13
↓ 1 callersFunctionCalcBMI
(tall float64, weight float64)
chapter03/001.fatrate.refactor/calc/calc_bmi.go:7
↓ 1 callersFunctionCalcFatRate
(bmi float64, age int, sex string)
chapter02/015.fatrate.refactor/calc/calc_faterate.go:3
↓ 1 callersFunctionCalcFatRate
(bmi float64, age int, sex string)
chapter03/001.fatrate.refactor/calc/calc_faterate.go:7
↓ 1 callersMethodCloseAndRecv
()
pkg/apis/types.pb.go:408
↓ 1 callersMethodConsume
(s *Store)
chapter06/05.producer-consumer/producer-consumer.go:30
↓ 1 callersMethodConsume
(s *Store)
chapter06/08.sync.cond/producer-consumer.go:33
↓ 1 callersMethodConsume
(s *Store)
chapter06/13.producer-consumer-channel/producer-consumer.go:31
↓ 1 callersMethodDoStartWork
()
chapter05/04.thetrap/list.go:7
↓ 1 callersMethodDoStopWork
()
chapter05/04.thetrap/list.go:16
↓ 1 callersMethodDownload
()
chapter06/19.retrospective/main.go:14
↓ 1 callersMethodDownloadFile
()
chapter05/01.confusion/dd.go:8
↓ 1 callersMethodFatRate
(person *apis.PersonalInformation)
chapter08/03.format/calc.go:23
↓ 1 callersMethodGetInput
()
chapter08/03.format/input_from_std.go:12
↓ 1 callersMethodGetSecret
()
chapter05/01.confusion/main.go:12
↓ 1 callersMethodInit
()
chapter13/02.grpc/server/frinterface/interface.go:15
↓ 1 callersFunctionNewDbRank
(conn *gorm.DB, embedRank frinterface.ServeInterface)
chapter12/03.gin/03.practice/server/dbrank.go:15
↓ 1 callersFunctionNewFatRateRank
()
chapter11/02.practice/server/rank.go:17
↓ 1 callersFunctionNewFatRateRank
()
chapter12/03.gin/03.practice/server/rank.go:66
↓ 1 callersFunctionNewFatRateRank
()
chapter12/02.practice/server/rank.go:66
next →1–100 of 644, ranked by callers