Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/armstrongli/learn.go
/ functions
Functions
644 in github.com/armstrongli/learn.go
⨍
Functions
644
◇
Types & classes
133
↓ 28 callers
Method
Sub
()
chapter04/03-calculator/calculator.funcs.go:14
↓ 22 callers
Method
Lock
()
chapter05/04.thetrap/door.go:7
↓ 21 callers
Method
Close
()
chapter05/04.thetrap/door.go:6
↓ 21 callers
Method
Unlock
()
chapter05/04.thetrap/door.go:4
↓ 17 callers
Method
Add
()
chapter04/03-calculator/calculator.funcs.go:7
↓ 11 callers
Function
inputRecord
(name string, fatRate ...float64)
chapter03/003.tdd/main.go:12
↓ 11 callers
Method
inputRecord
(name string, fatRate ...float64)
chapter04/05-objrank/main.go:17
↓ 10 callers
Method
BMI
(person *apis.PersonalInformation)
chapter08/03.format/calc.go:14
↓ 10 callers
Function
getRand
(name string)
chapter03/003.tdd/main.go:22
↓ 10 callers
Method
getRank
(name string)
chapter04/05-objrank/main.go:44
↓ 8 callers
Method
Read
()
chapter05/02.filesystem/main.go:27
↓ 7 callers
Method
Open
()
chapter05/01.charac/main.go:84
↓ 6 callers
Method
Run
(startPointWg, wg *sync.WaitGroup)
chapter06/06.sync.wg/waitgroup.go:14
↓ 6 callers
Function
calcSum
(nums ...int)
chapter02/018.funcs/closure_sum.go:9
↓ 5 callers
Method
Register
(ctx context.Context, in *PersonalInformation, opts ...grpc.CallOption)
pkg/apis/types.pb.go:345
↓ 5 callers
Function
calcAdd
()
chapter02/018.funcs/main.go:99
↓ 5 callers
Function
insertNode
(root *LinkNode, newNode *LinkNode)
chapter07/04.link-double-direction/link-double-direction.go:29
↓ 4 callers
Function
GetFatRateSuggestion
()
chapter05/05-fatrate/suggestion.go:3
↓ 4 callers
Method
GetTop
(ctx context.Context, in *Null, opts ...grpc.CallOption)
pkg/apis/types.pb.go:348
↓ 4 callers
Method
Pop
()
chapter07/02.stack/main.go:15
↓ 4 callers
Method
Pop
()
chapter07/01.queue/main.go:19
↓ 4 callers
Method
Push
(data interface{})
chapter07/01.queue/main.go:13
↓ 4 callers
Method
Send
(*PersonalInformation)
pkg/apis/types.pb.go:584
↓ 4 callers
Method
String
()
pkg/apis/types.pb.go:33
↓ 4 callers
Function
collectPrime
(start int, end int)
chapter06/02.prime/prime_test.go:78
↓ 4 callers
Function
getPointXYFromInput
()
chapter01/00-homework/1-lines/main.go:20
↓ 4 callers
Function
insertNode
(root *LinkNode, newNode *LinkNode)
chapter07/03.link-single-direction/link-single-direction.go:99
↓ 4 callers
Function
midSearch
todo 也可以使用for循环实现遍历
chapter07/11.tree.search/middle.go:4
↓ 4 callers
Function
postSearch
todo 也可以使用for循环实现遍历
chapter07/11.tree.search/post.go:4
↓ 4 callers
Function
preSearch
todo 也可以使用for循环实现遍历
chapter07/11.tree.search/pre.go:4
↓ 4 callers
Function
search
(arrP *[]int64, targetNum int64)
chapter07/09.search.seq/search.seq.go:35
↓ 4 callers
Function
search
(arrP *[]int64, targetNum int64)
chapter07/10.search.harf/harf.go:46
↓ 3 callers
Function
GetFatRateSuggestion
()
chapter04/04-fatrate/suggestion.go:3
↓ 3 callers
Method
GetSuggestion
(person *Person)
chapter04/04-fatrate/suggestion.go:36
↓ 3 callers
Method
GetSuggestion
(person *Person)
chapter05/05-fatrate/suggestion.go:36
↓ 3 callers
Method
Push
(data interface{})
chapter07/02.stack/main.go:11
↓ 3 callers
Method
String
()
chapter13/03.grpc-attention/types.pb.go:41
↓ 3 callers
Method
UpdatePersonalInformation
(pi *apis.PersonalInformation)
chapter13/02.grpc/server/frinterface/interface.go:9
↓ 3 callers
Function
deleteNode
(root *LinkNode, data int)
chapter07/03.link-single-direction/link-single-direction.go:73
↓ 3 callers
Function
insertNode
(root *Node, newNode *Node)
chapter07/11.tree.search/main.go:27
↓ 3 callers
Function
rangeLink
(root *LinkNode)
chapter07/03.link-single-direction/link-single-direction.go:123
↓ 3 callers
Method
regPerson
(pi *apis.PersonalInformation)
chapter13/02.grpc/server/rank-service.go:37
↓ 2 callers
Method
BMI
(person *Person)
chapter04/04-fatrate/calc.go:13
↓ 2 callers
Function
CalcBMI
(tall float64, weight float64)
chapter02/015.fatrate.refactor/calc/calc_bmi.go:7
↓ 2 callers
Method
CloseTheDoorOfRefrigerator
(Refrigerator)
chapter05/01.charac/main.go:47
↓ 2 callers
Method
Distribute
()
chapter04/06-specialtypes/type1.go:76
↓ 2 callers
Method
GetFatRate
(ctx context.Context, in *PersonalInformation, opts ...grpc.CallOption)
pkg/apis/types.pb.go:347
↓ 2 callers
Method
GetFatRate
(name string)
chapter12/02.practice/frinterface/interface.go:10
↓ 2 callers
Method
GetFatRate
(name string)
chapter13/02.grpc/server/frinterface/interface.go:10
↓ 2 callers
Method
GetInput
()
chapter05/05-fatrate/interface.go:4
↓ 2 callers
Method
GetTop
()
chapter12/02.practice/frinterface/interface.go:11
↓ 2 callers
Method
GetTop
()
chapter13/02.grpc/server/frinterface/interface.go:11
↓ 2 callers
Method
GiveSuggestionToPerson
(person *Person)
chapter04/04-fatrate/frservice.go:11
↓ 2 callers
Method
GiveSuggestionToPerson
(person *Person)
chapter05/05-fatrate/frservice.go:13
↓ 2 callers
Function
List
(ctx context.Context, cli client.APIClient, labels map[string]string)
pkg/dockertool/list.go:19
↓ 2 callers
Function
NewRankServiceClient
(cc *grpc.ClientConn)
pkg/apis/types.pb.go:357
↓ 2 callers
Method
OpenTheDoorOfRefrigerator
(Refrigerator)
chapter05/01.charac/main.go:45
↓ 2 callers
Method
PutElephantIntoRefrigerator
(Elephant, Refrigerator)
chapter05/01.charac/main.go:46
↓ 2 callers
Method
ReadPersonalInformation
()
chapter12/02.practice/client/interface.go:11
↓ 2 callers
Method
Recv
()
pkg/apis/types.pb.go:447
↓ 2 callers
Method
RegisterPersonalInformation
(pi *apis.PersonalInformation)
chapter12/02.practice/frinterface/interface.go:8
↓ 2 callers
Method
RegisterPersonalInformation
(pi *apis.PersonalInformation)
chapter13/02.grpc/server/frinterface/interface.go:8
↓ 2 callers
Method
RegisterPersons
(ctx context.Context, opts ...grpc.CallOption)
pkg/apis/types.pb.go:349
↓ 2 callers
Function
Run
(ctx context.Context, cli client.APIClient, labels map[string]string, image string, cmd []string)
pkg/dockertool/run.go:11
↓ 2 callers
Method
Update
(ctx context.Context, in *PersonalInformation, opts ...grpc.CallOption)
pkg/apis/types.pb.go:346
↓ 2 callers
Method
UpdatePersonalInformation
(pi *apis.PersonalInformation)
chapter12/02.practice/frinterface/interface.go:9
↓ 2 callers
Method
WatchPersons
(ctx context.Context, in *Null, opts ...grpc.CallOption)
pkg/apis/types.pb.go:350
↓ 2 callers
Function
calculateK
(y2, y1, x2, x1 float64)
chapter01/00-homework/1-lines/main.go:29
↓ 2 callers
Function
coverPanicUpgraded
()
chapter02/018.funcs/panic_recover.go:28
↓ 2 callers
Function
deleteNode
(root *Node, v int)
chapter07/05.tree/tree.go:74
↓ 2 callers
Function
deleteNode
(root *LinkNode, v int)
chapter07/04.link-double-direction/link-double-direction.go:67
↓ 2 callers
Function
helloToSomeone
(name string)
chapter02/014.func.def/main.go:19
↓ 2 callers
Method
inputRecord
(name, sex string, fatRate ...float64)
chapter12/03.gin/03.practice/server/rank.go:72
↓ 2 callers
Method
inputRecord
(name, sex string, fatRate ...float64)
chapter12/02.practice/server/rank.go:72
↓ 2 callers
Method
inputRecord
(name, sex string, fatRate ...float64)
chapter13/02.grpc/server/ranks/rank.go:72
↓ 2 callers
Function
insertNode
(root *Node, newNode *Node)
chapter07/05.tree/tree.go:26
↓ 2 callers
Function
isPrime
(num int)
chapter06/02.prime/prime_test.go:24
↓ 2 callers
Function
mergeArr
(left, right []int)
chapter07/07.sort.merge/merge.go:18
↓ 2 callers
Function
rangeLink
(root *LinkNode)
chapter07/04.link-double-direction/link-double-direction.go:108
↓ 1 callers
Method
AddNumber
线程安全的加数据
chapter07/12.q_a/general.lock.go:19
↓ 1 callers
Method
BMI
(person *Person)
chapter05/05-fatrate/calc.go:13
↓ 1 callers
Function
CalcBMI
(tall float64, weight float64)
chapter03/001.fatrate.refactor/calc/calc_bmi.go:7
↓ 1 callers
Function
CalcFatRate
(bmi float64, age int, sex string)
chapter02/015.fatrate.refactor/calc/calc_faterate.go:3
↓ 1 callers
Function
CalcFatRate
(bmi float64, age int, sex string)
chapter03/001.fatrate.refactor/calc/calc_faterate.go:7
↓ 1 callers
Method
CloseAndRecv
()
pkg/apis/types.pb.go:408
↓ 1 callers
Method
Consume
(s *Store)
chapter06/05.producer-consumer/producer-consumer.go:30
↓ 1 callers
Method
Consume
(s *Store)
chapter06/08.sync.cond/producer-consumer.go:33
↓ 1 callers
Method
Consume
(s *Store)
chapter06/13.producer-consumer-channel/producer-consumer.go:31
↓ 1 callers
Method
DoStartWork
()
chapter05/04.thetrap/list.go:7
↓ 1 callers
Method
DoStopWork
()
chapter05/04.thetrap/list.go:16
↓ 1 callers
Method
Download
()
chapter06/19.retrospective/main.go:14
↓ 1 callers
Method
DownloadFile
()
chapter05/01.confusion/dd.go:8
↓ 1 callers
Method
FatRate
(person *apis.PersonalInformation)
chapter08/03.format/calc.go:23
↓ 1 callers
Method
GetInput
()
chapter08/03.format/input_from_std.go:12
↓ 1 callers
Method
GetSecret
()
chapter05/01.confusion/main.go:12
↓ 1 callers
Method
Init
()
chapter13/02.grpc/server/frinterface/interface.go:15
↓ 1 callers
Function
NewDbRank
(conn *gorm.DB, embedRank frinterface.ServeInterface)
chapter12/03.gin/03.practice/server/dbrank.go:15
↓ 1 callers
Function
NewFatRateRank
()
chapter11/02.practice/server/rank.go:17
↓ 1 callers
Function
NewFatRateRank
()
chapter12/03.gin/03.practice/server/rank.go:66
↓ 1 callers
Function
NewFatRateRank
()
chapter12/02.practice/server/rank.go:66
next →
1–100 of 644, ranked by callers