MCPcopy Create free account

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

Functions644 in github.com/armstrongli/learn.go

↓ 1 callersMethodinstrument
()
chapter06/13.producer-consumer-channel/producer-consumer.go:16
↓ 1 callersFunctionisPrime
(num int)
chapter06/15.prime-with-channel/main.go:40
↓ 1 callersFunctionlegendary
(legend PutElephantIntoRefrigerator, r Refrigerator, e Elephant)
chapter05/03.legend/legend.go:7
↓ 1 callersMethodlogincheck
()
chapter05/01.confusion/dd.go:15
↓ 1 callersFunctionmainFatRateBody
()
chapter02/015.fatrate.refactor/main.go:35
↓ 1 callersFunctionmainFatRateBody
()
chapter03/001.fatrate.refactor/main.go:35
↓ 1 callersFunctionmainForPostSearch
()
chapter07/11.tree.search/main.go:192
↓ 1 callersFunctionmergeSort
(arr []int)
chapter07/07.sort.merge/merge.go:9
↓ 1 callersFunctionmobile
(ctx context.Context)
chapter06/16.context/main.go:40
↓ 1 callersFunctionopenFile
()
chapter02/018.funcs/defer_sam.go:20
↓ 1 callersFunctionoutOnly
(c <-chan int)
chapter06/14.channel-with-direction/direction_test.go:18
↓ 1 callersFunctionpanicAndRecover
()
chapter02/018.funcs/panic_recover.go:7
↓ 1 callersFunctionput
(m map[string]string)
chapter04/01-pointer/main.go:46
↓ 1 callersFunctionqueryAllDataWithHack
(err error, learnDB *sql.DB)
chapter10/01.golang-connect-db/main.go:42
↓ 1 callersFunctionquickSort
(arr *[]int, start, end int)
chapter07/08.sort.quicksort/quicksort.go:9
↓ 1 callersFunctionquickSort
(arr *[]int64, start, end int)
chapter07/10.search.harf/quicksort.go:3
↓ 1 callersFunctionreadFile
(filePath string)
chapter08/03.format/main.go:62
↓ 1 callersFunctionrecoverMainBody
()
chapter02/015.fatrate.refactor/main.go:28
↓ 1 callersFunctionrecoverMainBody
()
chapter03/001.fatrate.refactor/main.go:28
↓ 1 callersMethodregister
()
chapter12/02.practice/client/main-get-local.go:17
↓ 1 callersMethodreload
()
chapter06/10.lockless/v2server.go:12
↓ 1 callersMethodreload
()
chapter06/10.lockless/v1server.go:14
↓ 1 callersMethodsavePersonalInformation
(pi *apis.PersonalInformation)
chapter08/03.format/save_record.go:29
↓ 1 callersFunctionsearchHarf
(arrP *[]int64, left, right int, targetNum int64)
chapter07/10.search.harf/harf.go:50
↓ 1 callersFunctionsendRequest
()
chapter06/18.trafficcontrol/main.go:16
↓ 1 callersFunctionserveRequest
()
chapter06/18.trafficcontrol/main.go:24
↓ 1 callersFunctionshowUsedTimes
()
chapter02/018.funcs/closure_sum.go:17
↓ 1 callersFunctionstartGRPCServer
(ctx context.Context)
chapter13/02.grpc/server/grpc-server.go:20
↓ 1 callersFunctiontalk
(conn net.Conn, message string)
chapter11/01.ai-chat/client/main.go:32
↓ 1 callersFunctiontalk
(conn net.Conn)
chapter11/01.ai-chat/server/main.go:42
↓ 1 callersFunctiontalk
(conn net.Conn, message string)
chapter11/02.practice/client/main.go:45
↓ 1 callersFunctiontalk
(conn net.Conn, rank *FatRateRank)
chapter11/02.practice/server/main.go:40
↓ 1 callersFunctiontestDbConnection
(err error, learnDB *sql.DB)
chapter10/01.golang-connect-db/main.go:96
↓ 1 callersFunctiontestPanic
()
chapter02/016.internal/main.go:35
↓ 1 callersFunctiontrafficControl_Finish
()
chapter06/18.trafficcontrol/main.go:49
↓ 1 callersFunctiontrafficControl_Start
()
chapter06/18.trafficcontrol/main.go:38
↓ 1 callersMethodtranslateResult
(idx int)
chapter04/04-fatrate/suggestion.go:68
↓ 1 callersMethodtranslateResult
(idx int)
chapter05/05-fatrate/suggestion.go:68
↓ 1 callersFunctiontv
(ctx context.Context)
chapter06/16.context/main.go:27
↓ 1 callersMethodupdate
()
chapter12/02.practice/client/main-get-local.go:31
↓ 1 callersFunctionverifyFunction
(ctx context.Context, wg *sync.WaitGroup)
chapter06/17.job/17.job.go:139
↓ 1 callersFunctionverifyService
(ctx context.Context, flag chan bool)
chapter06/17.job/17.job.go:127
↓ 1 callersMethodvoteA
(target *student)
chapter04/06-specialtypes/type1.go:91
↓ 1 callersFunctionwhetherContinue
()
chapter02/015.fatrate.refactor/main.go:157
↓ 1 callersFunctionwhetherContinue
()
chapter03/001.fatrate.refactor/main.go:149
↓ 1 callersFunctionwithDeadline
()
chapter06/16.context/main.go:16
↓ 1 callersFunctionwriteFile
(filePath string, data []byte)
chapter08/03.format/main.go:80
↓ 1 callersFunctionwriteFileWithAppend
(filePath string)
chapter08/02.write-file/main.go:38
↓ 1 callersMethodwriteFileWithAppendJson
(data []byte)
chapter08/03.format/save_record.go:66
↓ 1 callersMethodwriteFileWithAppendProtobuf
(data []byte)
chapter08/03.format/save_record.go:97
↓ 1 callersMethodwriteFileWithAppendYaml
(data []byte)
chapter08/03.format/save_record.go:81
FunctionBMI
(weightKG, heightM float64)
staging/src/github.com/armstrongli/go-bmi/bmi.go:5
FunctionCalcFatRate
(bmi float64, age int, sex string)
staging/src/github.com/armstrongli/go-bmi/calc_faterate.go:3
MethodChangeAge
(newAge int)
chapter05/03.legend/change_test.go:10
MethodChangeAge
(newAge int)
chapter05/03.legend/change_test.go:22
MethodChangeName
(newName string)
chapter05/03.legend/change_test.go:9
MethodChangeName
(newName string)
chapter05/03.legend/change_test.go:18
MethodClose
()
chapter05/04.thetrap/doorWood.go:22
MethodClose
()
chapter05/04.thetrap/doorGlass.go:22
MethodClose
()
chapter05/01.charac/main_test.go:37
MethodClose
()
chapter05/01.charac/main.go:88
MethodClose
()
chapter05/01.charac/main.go:104
MethodCloseAndRecv
()
pkg/apis/types.pb.go:420
MethodCloseTheDoorOfRefrigerator
(Refrigerator)
chapter05/03.legend/interface.go:6
MethodCloseTheDoorOfRefrigerator
(Refrigerator)
chapter05/03.legend/ship.go:18
MethodCloseTheDoorOfRefrigerator
(Refrigerator)
chapter05/03.legend/manpush.go:18
MethodCloseTheDoorOfRefrigerator
(_ Refrigerator)
chapter05/01.charac/main.go:58
MethodCloseTheDoorOfRefrigerator
(refrigerator Refrigerator)
chapter05/01.charac/main.go:77
MethodCombined
Combined returns combined stdout and stderr output of a command run by Exec()
pkg/dockertool/exec.go:30
MethodDescriptor
()
pkg/apis/types.pb.go:35
MethodDescriptor
()
pkg/apis/types.pb.go:66
MethodDescriptor
()
pkg/apis/types.pb.go:107
MethodDescriptor
()
pkg/apis/types.pb.go:167
MethodDescriptor
()
pkg/apis/types.pb.go:212
MethodDescriptor
()
pkg/apis/types.pb.go:261
MethodDescriptor
()
chapter13/03.grpc-attention/types.pb.go:43
MethodDivide
()
chapter04/03-calculator/calculator.funcs.go:20
FunctionExec
(ctx context.Context, cli client.APIClient, id string, cmd []string)
pkg/dockertool/exec.go:34
MethodFatRate
(person *Person)
chapter04/04-fatrate/calc.go:23
MethodFatRate
(person *Person)
chapter05/05-fatrate/calc.go:23
MethodGetAge
()
pkg/apis/types.pb.go:317
MethodGetAge
()
chapter13/03.grpc-attention/types.pb.go:99
MethodGetConnection
()
chapter06/07.sync.once/once.go:30
MethodGetConnection
()
chapter06/07.sync.once/once.go:41
MethodGetFatRate
()
pkg/apis/types.pb.go:149
MethodGetFatRate
()
pkg/apis/types.pb.go:195
MethodGetFatRate
(ctx context.Context, in *PersonalInformation, opts ...grpc.CallOption)
pkg/apis/types.pb.go:379
MethodGetFatRate
(context.Context, *PersonalInformation)
pkg/apis/types.pb.go:467
MethodGetFatRate
(name string)
chapter12/03.gin/03.practice/server/rank.go:52
MethodGetFatRate
(name string)
chapter12/03.gin/03.practice/server/dbrank.go:73
MethodGetFatRate
(name string)
chapter12/02.practice/server/rank.go:52
MethodGetFatRate
(context context2.Context, information *apis.PersonalInformation)
chapter13/02.grpc/server/rank-service.go:24
MethodGetFatRate
(name string)
chapter13/02.grpc/server/ranks/rank.go:52
MethodGetId
()
pkg/apis/types.pb.go:282
MethodGetId
()
chapter13/03.grpc-attention/types.pb.go:64
MethodGetInput
()
chapter05/05-fatrate/input_from_std.go:10
MethodGetInput
()
chapter05/05-fatrate/input_from_fake.go:6
MethodGetItems
()
pkg/apis/types.pb.go:233
MethodGetName
()
pkg/apis/types.pb.go:128
MethodGetName
()
pkg/apis/types.pb.go:188
← previousnext →201–300 of 644, ranked by callers