MCPcopy Create free account

hub / github.com/1ambda/golang / functions

Functions280 in github.com/1ambda/golang

↓ 13 callersFunctiontest
(vals ...interface{})
slice/slice-usage-and-internals_test.go:115
↓ 12 callersFunctiontest
(expr bool)
map/map-in-action.go:110
↓ 9 callersFunctionequal
(expr bool)
understanding-nil/make-zero-value-useful.go:106
↓ 9 callersFunctionequal
(expr bool)
understanding-nil/understanding-nil.go:37
↓ 8 callersMethodCount
(string)
go-kit-tutorial/stringsvc/service/StringService.go:11
↓ 8 callersMethodParse
(s string)
json/json-interfaces-and-go-generate.go:96
↓ 7 callersMethodString
()
a-taste-of-go/point.go:16
↓ 7 callersMethodUppercase
(string)
go-kit-tutorial/stringsvc/service/StringService.go:10
↓ 7 callersFunctionasChan
(vs ...int)
just-for-func/027_two-ways-of-merging-N-channels/main.go:97
↓ 7 callersFunctionprintSlice
(s []int)
a-tour-of-go/src/types/MoreTypes_test.go:165
↓ 6 callersMethodError
()
errors/error-handling-and-go.go:18
↓ 4 callersFunctionpass
(expr bool)
golang-cheat-sheet/switch-statement.go:18
↓ 4 callersFunctionprintSliceWithString
(s string, x []int)
a-tour-of-go/src/types/MoreTypes_test.go:200
↓ 4 callersFunctiontest
(expr bool)
golang-cheat-sheet/closure.go:51
↓ 4 callersFunctiontest
(expr bool)
pointer/things-i-wish-someone-had-told-me-about-go.go:3
↓ 3 callersMethodAbs
** A method is a function with a special receiver argument */
a-tour-of-go/src/methods/MethodsAndInterfaces_test.go:13
↓ 3 callersFunctionFirst
(query string, searchs []Search)
concurrency-patterns/14_google_search_v3.go:28
↓ 3 callersFunctionGetMultipleSearchSources
(kind string, replica int)
concurrency-patterns/14_google_search_v3.go:20
↓ 3 callersFunctionSame
(t1, t2 *tree.Tree)
a-tour-of-go/src/concurrencies/EquivalentBinaryTrees_test.go:53
↓ 3 callersMethodScale2
(f float64)
a-tour-of-go/src/methods/MethodsAndInterfaces_test.go:55
↓ 3 callersFunctionSwitchType
(i interface{})
a-tour-of-go/src/interfaces/Interfaces_test.go:144
↓ 3 callersFunctionWalk
(t *tree.Tree, ch chan int)
a-tour-of-go/src/concurrencies/EquivalentBinaryTrees_test.go:26
↓ 3 callersFunctiondescribe
(i I)
a-tour-of-go/src/interfaces/Interfaces_test.go:62
↓ 3 callersFunctiondescribeAny
(i interface{})
a-tour-of-go/src/interfaces/Interfaces_test.go:101
↓ 3 callersFunctiongetSearchSource
(kind string)
concurrency-patterns/13_google_search_v2.1.go:12
↓ 3 callersFunctiongetSearchSource
(kind string)
concurrency-patterns/11_google_search_v1.go:12
↓ 3 callersFunctiongetSearchSource
(kind string)
concurrency-patterns/12_google_search_v2.go:12
↓ 3 callersMethodsum
()
understanding-nil/make-zero-value-useful.go:113
↓ 2 callersMethodM
()
a-tour-of-go/src/interfaces/Interfaces_test.go:46
↓ 2 callersFunctionParseShirtSize
(s string)
json/json-interfaces-and-go-generate.go:153
↓ 2 callersMethodScale1
(f float64)
a-tour-of-go/src/methods/MethodsAndInterfaces_test.go:50
↓ 2 callersFunctionStoreCache
(item CacheItem)
pointer/things-i-wish-someone-had-told-me-about-go.go:58
↓ 2 callersFunctionboring
(msg string)
concurrency-patterns/03_restoring_sequence.go:46
↓ 2 callersFunctionboring
(msg string)
concurrency-patterns/02_fan_in.go:37
↓ 2 callersFunctionboring
(msg string)
concurrency-patterns/01_generator.go:21
↓ 2 callersFunctionhandler
enhanced version
go-tooling-in-action/email-server.go:22
↓ 2 callersFunctionmergeTwo
(a, b <-chan int)
just-for-func/027_two-ways-of-merging-N-channels/main.go:128
↓ 2 callersFunctionsay
* A `goroutine` is a lightweight thread managed by the Go runtime The evaluation of `f`, `x`, `y` and `z` happens in the current goroutine and th
a-tour-of-go/src/concurrencies/Goroutines_test.go:20
↓ 2 callersFunctionsum
* Channels are a typed conduit through which you can send and receive values By default, sends are receives block until the other side is ready. *
a-tour-of-go/src/concurrencies/Goroutines_test.go:51
↓ 2 callersFunctionuse
(vals ...interface{})
slice/slice-usage-and-internals_test.go:119
↓ 1 callersMethodAbs
()
a-tour-of-go/src/interfaces/Interfaces_test.go:14
↓ 1 callersFunctionAbs2
(v Vertex3)
a-tour-of-go/src/methods/MethodsAndInterfaces_test.go:17
↓ 1 callersFunctionCreateCountHandler
(ctx context.Context, svc StringService)
go-kit-tutorial/stringsvc3/service/Endpoint.go:38
↓ 1 callersFunctionCreateInstrumentMiddleware
( requestCount metrics.Counter, requestLatency metrics.Histogram, countResult metrics.Histogram, )
go-kit-tutorial/stringsvc3/service/Instrument.go:49
↓ 1 callersFunctionCreateLoggingMiddleware
(logger log.Logger)
go-kit-tutorial/stringsvc3/service/Logging.go:14
↓ 1 callersFunctionCreatePrebuiltInstrumentMiddleware
()
go-kit-tutorial/stringsvc3/service/Instrument.go:19
↓ 1 callersFunctionCreateUppercaseHandler
(ctx context.Context, svc StringService)
go-kit-tutorial/stringsvc3/service/Endpoint.go:21
↓ 1 callersFunctionCreateUppercaseProxyMiddleware
( instances string, ctx context.Context, logger log.Logger)
go-kit-tutorial/stringsvc3/service/Proxy.go:47
↓ 1 callersFunctionGetSearchSource
(kind string)
concurrency-patterns/14_google_search_v3.go:13
↓ 1 callersFunctionGoogle
(query string)
concurrency-patterns/13_google_search_v2.1.go:19
↓ 1 callersFunctionGoogle
(query string)
concurrency-patterns/14_google_search_v3.go:38
↓ 1 callersFunctionGoogle
(query string)
concurrency-patterns/11_google_search_v1.go:19
↓ 1 callersFunctionGoogle
(query string)
concurrency-patterns/12_google_search_v2.go:19
↓ 1 callersFunctionMakeCountEndpoint
(svc StringService)
go-kit-tutorial/stringsvc2/endpoint/StringServiceEndpoint.go:22
↓ 1 callersFunctionMakeUppercaseEndpoint
(svc StringService)
go-kit-tutorial/stringsvc2/endpoint/StringServiceEndpoint.go:10
↓ 1 callersFunctionModify1
(u *User, name string)
pointer/things-i-wish-someone-had-told-me-about-go.go:42
↓ 1 callersFunctionModify2
(u User, name string)
pointer/things-i-wish-someone-had-told-me-about-go.go:46
↓ 1 callersFunctionModify3
(u *User, name string)
pointer/things-i-wish-someone-had-told-me-about-go.go:50
↓ 1 callersMethodParse
(s string)
json/json-interfaces-and-go-generate.go:128
↓ 1 callersMethodRead
(b []byte)
a-tour-of-go/src/interfaces/ReaderExercise_test.go:25
↓ 1 callersFunctionScale3
(v Vertex3, f float64)
a-tour-of-go/src/methods/MethodsAndInterfaces_test.go:72
↓ 1 callersFunctionScale4
(v *Vertex3, f float64)
a-tour-of-go/src/methods/MethodsAndInterfaces_test.go:77
↓ 1 callersFunctionSearch
(query string)
go-for-java-programmers/google-search-frontend.go:72
↓ 1 callersFunctionSleep
Sleep kills some time (fake load)
concurrency-is-not-parallelism/load-balancer.go:82
↓ 1 callersFunctionWaitMany
(a, b chan bool)
channel/curious-channels.go:8
↓ 1 callersFunction_walk
* type Tree struct { Left *Tree Value int Right *Tree } tree.New(k) constructs randomly-structured binary tree holding the values k,
a-tour-of-go/src/concurrencies/EquivalentBinaryTrees_test.go:18
↓ 1 callersFunctionadd
(x, y int)
a-tour-of-go/src/basics/Basics_test.go:23
↓ 1 callersFunctionboring
(msg string, quit chan bool)
concurrency-patterns/06_quit_channel.go:22
↓ 1 callersFunctionboring
(msg string, c chan string)
concurrency-patterns/00_basic.go:21
↓ 1 callersFunctionboring
(msg string)
concurrency-patterns/05_select_all_timeout.go:25
↓ 1 callersFunctionboring
(msg string)
concurrency-patterns/04_select_timeout.go:26
↓ 1 callersFunctionboring
(msg string, quit chan string)
concurrency-patterns/07_quit_channel_cleanup.go:24
↓ 1 callersFunctionclosure1
(n int)
golang-cheat-sheet/closure.go:13
↓ 1 callersFunctionclosure2
()
golang-cheat-sheet/closure.go:28
↓ 1 callersFunctionclosure3
(n int)
golang-cheat-sheet/closure.go:40
↓ 1 callersMethodcomplete
(w *Worker)
concurrency-is-not-parallelism/load-balancer.go:57
↓ 1 callersFunctioncreateCountEndpoint
(svc StringService)
go-kit-tutorial/stringsvc3/service/Endpoint.go:30
↓ 1 callersFunctioncreateUppercaseEndpoint
(svc StringService)
go-kit-tutorial/stringsvc3/service/Endpoint.go:9
↓ 1 callersFunctioncreateUppercaseProxy
(proxyURL string)
go-kit-tutorial/stringsvc3/service/Proxy.go:84
↓ 1 callersMethoddispatch
(req Request)
concurrency-is-not-parallelism/load-balancer.go:50
↓ 1 callersFunctionf
()
defer-panic-recover/defer-panic-recover.go:120
↓ 1 callersFunctionf
(left, right chan int)
concurrency-patterns/08_daisy_chain.go:7
↓ 1 callersFunctionfanIn
(inputs ...<-chan Message)
concurrency-patterns/03_restoring_sequence.go:31
↓ 1 callersFunctionfanIn
(inputs ...<-chan string)
concurrency-patterns/02_fan_in.go:21
↓ 1 callersFunctionfibo1
(n int, c chan int)
a-tour-of-go/src/concurrencies/Goroutines_test.go:94
↓ 1 callersFunctionfibo2
* The `select` statement lets a goroutine wait on multiple communication operations A `select` blocks until one of its cases can run, then it exec
a-tour-of-go/src/concurrencies/Goroutines_test.go:148
↓ 1 callersFunctiong
(i int)
defer-panic-recover/defer-panic-recover.go:135
↓ 1 callersFunctiongetMyError
()
understanding-nil/understanding-nil.go:58
↓ 1 callersFunctiongetRuntimeOS
()
golang-cheat-sheet/switch-statement.go:24
↓ 1 callersFunctionmergeReflect
(chans ...<-chan int)
just-for-func/027_two-ways-of-merging-N-channels/main.go:68
↓ 1 callersFunctionnew
(text string)
errors/error-handling-and-go.go:22
↓ 1 callersFunctionparseProxyList
(s string)
go-kit-tutorial/stringsvc3/service/Proxy.go:105
↓ 1 callersFunctionpass
(expr bool)
golang-cheat-sheet/map-usage.go:33
↓ 1 callersFunctionraiseMyError
()
a-tour-of-go/src/interfaces/Errors_test.go:27
↓ 1 callersFunctionrotate13
(b byte)
a-tour-of-go/src/interfaces/ReaderExercise_test.go:13
↓ 1 callersMethodsum
nil receivers are useful
understanding-nil/make-zero-value-useful.go:191
↓ 1 callersFunctionwrapGetMyError
()
understanding-nil/understanding-nil.go:62
MethodAbs
()
a-tour-of-go/src/methods/MethodsAndInterfaces_test.go:34
MethodAbs
()
a-tour-of-go/src/interfaces/Interfaces_test.go:17
MethodAbs
()
a-tour-of-go/src/interfaces/Interfaces_test.go:25
next →1–100 of 280, ranked by callers