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
↓ 1 callers
Method
instrument
()
chapter06/13.producer-consumer-channel/producer-consumer.go:16
↓ 1 callers
Function
isPrime
(num int)
chapter06/15.prime-with-channel/main.go:40
↓ 1 callers
Function
legendary
(legend PutElephantIntoRefrigerator, r Refrigerator, e Elephant)
chapter05/03.legend/legend.go:7
↓ 1 callers
Method
logincheck
()
chapter05/01.confusion/dd.go:15
↓ 1 callers
Function
mainFatRateBody
()
chapter02/015.fatrate.refactor/main.go:35
↓ 1 callers
Function
mainFatRateBody
()
chapter03/001.fatrate.refactor/main.go:35
↓ 1 callers
Function
mainForPostSearch
()
chapter07/11.tree.search/main.go:192
↓ 1 callers
Function
mergeSort
(arr []int)
chapter07/07.sort.merge/merge.go:9
↓ 1 callers
Function
mobile
(ctx context.Context)
chapter06/16.context/main.go:40
↓ 1 callers
Function
openFile
()
chapter02/018.funcs/defer_sam.go:20
↓ 1 callers
Function
outOnly
(c <-chan int)
chapter06/14.channel-with-direction/direction_test.go:18
↓ 1 callers
Function
panicAndRecover
()
chapter02/018.funcs/panic_recover.go:7
↓ 1 callers
Function
put
(m map[string]string)
chapter04/01-pointer/main.go:46
↓ 1 callers
Function
queryAllDataWithHack
(err error, learnDB *sql.DB)
chapter10/01.golang-connect-db/main.go:42
↓ 1 callers
Function
quickSort
(arr *[]int, start, end int)
chapter07/08.sort.quicksort/quicksort.go:9
↓ 1 callers
Function
quickSort
(arr *[]int64, start, end int)
chapter07/10.search.harf/quicksort.go:3
↓ 1 callers
Function
readFile
(filePath string)
chapter08/03.format/main.go:62
↓ 1 callers
Function
recoverMainBody
()
chapter02/015.fatrate.refactor/main.go:28
↓ 1 callers
Function
recoverMainBody
()
chapter03/001.fatrate.refactor/main.go:28
↓ 1 callers
Method
register
()
chapter12/02.practice/client/main-get-local.go:17
↓ 1 callers
Method
reload
()
chapter06/10.lockless/v2server.go:12
↓ 1 callers
Method
reload
()
chapter06/10.lockless/v1server.go:14
↓ 1 callers
Method
savePersonalInformation
(pi *apis.PersonalInformation)
chapter08/03.format/save_record.go:29
↓ 1 callers
Function
searchHarf
(arrP *[]int64, left, right int, targetNum int64)
chapter07/10.search.harf/harf.go:50
↓ 1 callers
Function
sendRequest
()
chapter06/18.trafficcontrol/main.go:16
↓ 1 callers
Function
serveRequest
()
chapter06/18.trafficcontrol/main.go:24
↓ 1 callers
Function
showUsedTimes
()
chapter02/018.funcs/closure_sum.go:17
↓ 1 callers
Function
startGRPCServer
(ctx context.Context)
chapter13/02.grpc/server/grpc-server.go:20
↓ 1 callers
Function
talk
(conn net.Conn, message string)
chapter11/01.ai-chat/client/main.go:32
↓ 1 callers
Function
talk
(conn net.Conn)
chapter11/01.ai-chat/server/main.go:42
↓ 1 callers
Function
talk
(conn net.Conn, message string)
chapter11/02.practice/client/main.go:45
↓ 1 callers
Function
talk
(conn net.Conn, rank *FatRateRank)
chapter11/02.practice/server/main.go:40
↓ 1 callers
Function
testDbConnection
(err error, learnDB *sql.DB)
chapter10/01.golang-connect-db/main.go:96
↓ 1 callers
Function
testPanic
()
chapter02/016.internal/main.go:35
↓ 1 callers
Function
trafficControl_Finish
()
chapter06/18.trafficcontrol/main.go:49
↓ 1 callers
Function
trafficControl_Start
()
chapter06/18.trafficcontrol/main.go:38
↓ 1 callers
Method
translateResult
(idx int)
chapter04/04-fatrate/suggestion.go:68
↓ 1 callers
Method
translateResult
(idx int)
chapter05/05-fatrate/suggestion.go:68
↓ 1 callers
Function
tv
(ctx context.Context)
chapter06/16.context/main.go:27
↓ 1 callers
Method
update
()
chapter12/02.practice/client/main-get-local.go:31
↓ 1 callers
Function
verifyFunction
(ctx context.Context, wg *sync.WaitGroup)
chapter06/17.job/17.job.go:139
↓ 1 callers
Function
verifyService
(ctx context.Context, flag chan bool)
chapter06/17.job/17.job.go:127
↓ 1 callers
Method
voteA
(target *student)
chapter04/06-specialtypes/type1.go:91
↓ 1 callers
Function
whetherContinue
()
chapter02/015.fatrate.refactor/main.go:157
↓ 1 callers
Function
whetherContinue
()
chapter03/001.fatrate.refactor/main.go:149
↓ 1 callers
Function
withDeadline
()
chapter06/16.context/main.go:16
↓ 1 callers
Function
writeFile
(filePath string, data []byte)
chapter08/03.format/main.go:80
↓ 1 callers
Function
writeFileWithAppend
(filePath string)
chapter08/02.write-file/main.go:38
↓ 1 callers
Method
writeFileWithAppendJson
(data []byte)
chapter08/03.format/save_record.go:66
↓ 1 callers
Method
writeFileWithAppendProtobuf
(data []byte)
chapter08/03.format/save_record.go:97
↓ 1 callers
Method
writeFileWithAppendYaml
(data []byte)
chapter08/03.format/save_record.go:81
Function
BMI
(weightKG, heightM float64)
staging/src/github.com/armstrongli/go-bmi/bmi.go:5
Function
CalcFatRate
(bmi float64, age int, sex string)
staging/src/github.com/armstrongli/go-bmi/calc_faterate.go:3
Method
ChangeAge
(newAge int)
chapter05/03.legend/change_test.go:10
Method
ChangeAge
(newAge int)
chapter05/03.legend/change_test.go:22
Method
ChangeName
(newName string)
chapter05/03.legend/change_test.go:9
Method
ChangeName
(newName string)
chapter05/03.legend/change_test.go:18
Method
Close
()
chapter05/04.thetrap/doorWood.go:22
Method
Close
()
chapter05/04.thetrap/doorGlass.go:22
Method
Close
()
chapter05/01.charac/main_test.go:37
Method
Close
()
chapter05/01.charac/main.go:88
Method
Close
()
chapter05/01.charac/main.go:104
Method
CloseAndRecv
()
pkg/apis/types.pb.go:420
Method
CloseTheDoorOfRefrigerator
(Refrigerator)
chapter05/03.legend/interface.go:6
Method
CloseTheDoorOfRefrigerator
(Refrigerator)
chapter05/03.legend/ship.go:18
Method
CloseTheDoorOfRefrigerator
(Refrigerator)
chapter05/03.legend/manpush.go:18
Method
CloseTheDoorOfRefrigerator
(_ Refrigerator)
chapter05/01.charac/main.go:58
Method
CloseTheDoorOfRefrigerator
(refrigerator Refrigerator)
chapter05/01.charac/main.go:77
Method
Combined
Combined returns combined stdout and stderr output of a command run by Exec()
pkg/dockertool/exec.go:30
Method
Descriptor
()
pkg/apis/types.pb.go:35
Method
Descriptor
()
pkg/apis/types.pb.go:66
Method
Descriptor
()
pkg/apis/types.pb.go:107
Method
Descriptor
()
pkg/apis/types.pb.go:167
Method
Descriptor
()
pkg/apis/types.pb.go:212
Method
Descriptor
()
pkg/apis/types.pb.go:261
Method
Descriptor
()
chapter13/03.grpc-attention/types.pb.go:43
Method
Divide
()
chapter04/03-calculator/calculator.funcs.go:20
Function
Exec
(ctx context.Context, cli client.APIClient, id string, cmd []string)
pkg/dockertool/exec.go:34
Method
FatRate
(person *Person)
chapter04/04-fatrate/calc.go:23
Method
FatRate
(person *Person)
chapter05/05-fatrate/calc.go:23
Method
GetAge
()
pkg/apis/types.pb.go:317
Method
GetAge
()
chapter13/03.grpc-attention/types.pb.go:99
Method
GetConnection
()
chapter06/07.sync.once/once.go:30
Method
GetConnection
()
chapter06/07.sync.once/once.go:41
Method
GetFatRate
()
pkg/apis/types.pb.go:149
Method
GetFatRate
()
pkg/apis/types.pb.go:195
Method
GetFatRate
(ctx context.Context, in *PersonalInformation, opts ...grpc.CallOption)
pkg/apis/types.pb.go:379
Method
GetFatRate
(context.Context, *PersonalInformation)
pkg/apis/types.pb.go:467
Method
GetFatRate
(name string)
chapter12/03.gin/03.practice/server/rank.go:52
Method
GetFatRate
(name string)
chapter12/03.gin/03.practice/server/dbrank.go:73
Method
GetFatRate
(name string)
chapter12/02.practice/server/rank.go:52
Method
GetFatRate
(context context2.Context, information *apis.PersonalInformation)
chapter13/02.grpc/server/rank-service.go:24
Method
GetFatRate
(name string)
chapter13/02.grpc/server/ranks/rank.go:52
Method
GetId
()
pkg/apis/types.pb.go:282
Method
GetId
()
chapter13/03.grpc-attention/types.pb.go:64
Method
GetInput
()
chapter05/05-fatrate/input_from_std.go:10
Method
GetInput
()
chapter05/05-fatrate/input_from_fake.go:6
Method
GetItems
()
pkg/apis/types.pb.go:233
Method
GetName
()
pkg/apis/types.pb.go:128
Method
GetName
()
pkg/apis/types.pb.go:188
← previous
next →
201–300 of 644, ranked by callers