Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/1ambda/golang
/ functions
Functions
280 in github.com/1ambda/golang
⨍
Functions
280
◇
Types & classes
81
↓ 13 callers
Function
test
(vals ...interface{})
slice/slice-usage-and-internals_test.go:115
↓ 12 callers
Function
test
(expr bool)
map/map-in-action.go:110
↓ 9 callers
Function
equal
(expr bool)
understanding-nil/make-zero-value-useful.go:106
↓ 9 callers
Function
equal
(expr bool)
understanding-nil/understanding-nil.go:37
↓ 8 callers
Method
Count
(string)
go-kit-tutorial/stringsvc/service/StringService.go:11
↓ 8 callers
Method
Parse
(s string)
json/json-interfaces-and-go-generate.go:96
↓ 7 callers
Method
String
()
a-taste-of-go/point.go:16
↓ 7 callers
Method
Uppercase
(string)
go-kit-tutorial/stringsvc/service/StringService.go:10
↓ 7 callers
Function
asChan
(vs ...int)
just-for-func/027_two-ways-of-merging-N-channels/main.go:97
↓ 7 callers
Function
printSlice
(s []int)
a-tour-of-go/src/types/MoreTypes_test.go:165
↓ 6 callers
Method
Error
()
errors/error-handling-and-go.go:18
↓ 4 callers
Function
pass
(expr bool)
golang-cheat-sheet/switch-statement.go:18
↓ 4 callers
Function
printSliceWithString
(s string, x []int)
a-tour-of-go/src/types/MoreTypes_test.go:200
↓ 4 callers
Function
test
(expr bool)
golang-cheat-sheet/closure.go:51
↓ 4 callers
Function
test
(expr bool)
pointer/things-i-wish-someone-had-told-me-about-go.go:3
↓ 3 callers
Method
Abs
** A method is a function with a special receiver argument */
a-tour-of-go/src/methods/MethodsAndInterfaces_test.go:13
↓ 3 callers
Function
First
(query string, searchs []Search)
concurrency-patterns/14_google_search_v3.go:28
↓ 3 callers
Function
GetMultipleSearchSources
(kind string, replica int)
concurrency-patterns/14_google_search_v3.go:20
↓ 3 callers
Function
Same
(t1, t2 *tree.Tree)
a-tour-of-go/src/concurrencies/EquivalentBinaryTrees_test.go:53
↓ 3 callers
Method
Scale2
(f float64)
a-tour-of-go/src/methods/MethodsAndInterfaces_test.go:55
↓ 3 callers
Function
SwitchType
(i interface{})
a-tour-of-go/src/interfaces/Interfaces_test.go:144
↓ 3 callers
Function
Walk
(t *tree.Tree, ch chan int)
a-tour-of-go/src/concurrencies/EquivalentBinaryTrees_test.go:26
↓ 3 callers
Function
describe
(i I)
a-tour-of-go/src/interfaces/Interfaces_test.go:62
↓ 3 callers
Function
describeAny
(i interface{})
a-tour-of-go/src/interfaces/Interfaces_test.go:101
↓ 3 callers
Function
getSearchSource
(kind string)
concurrency-patterns/13_google_search_v2.1.go:12
↓ 3 callers
Function
getSearchSource
(kind string)
concurrency-patterns/11_google_search_v1.go:12
↓ 3 callers
Function
getSearchSource
(kind string)
concurrency-patterns/12_google_search_v2.go:12
↓ 3 callers
Method
sum
()
understanding-nil/make-zero-value-useful.go:113
↓ 2 callers
Method
M
()
a-tour-of-go/src/interfaces/Interfaces_test.go:46
↓ 2 callers
Function
ParseShirtSize
(s string)
json/json-interfaces-and-go-generate.go:153
↓ 2 callers
Method
Scale1
(f float64)
a-tour-of-go/src/methods/MethodsAndInterfaces_test.go:50
↓ 2 callers
Function
StoreCache
(item CacheItem)
pointer/things-i-wish-someone-had-told-me-about-go.go:58
↓ 2 callers
Function
boring
(msg string)
concurrency-patterns/03_restoring_sequence.go:46
↓ 2 callers
Function
boring
(msg string)
concurrency-patterns/02_fan_in.go:37
↓ 2 callers
Function
boring
(msg string)
concurrency-patterns/01_generator.go:21
↓ 2 callers
Function
handler
enhanced version
go-tooling-in-action/email-server.go:22
↓ 2 callers
Function
mergeTwo
(a, b <-chan int)
just-for-func/027_two-ways-of-merging-N-channels/main.go:128
↓ 2 callers
Function
say
* 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 callers
Function
sum
* 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 callers
Function
use
(vals ...interface{})
slice/slice-usage-and-internals_test.go:119
↓ 1 callers
Method
Abs
()
a-tour-of-go/src/interfaces/Interfaces_test.go:14
↓ 1 callers
Function
Abs2
(v Vertex3)
a-tour-of-go/src/methods/MethodsAndInterfaces_test.go:17
↓ 1 callers
Function
CreateCountHandler
(ctx context.Context, svc StringService)
go-kit-tutorial/stringsvc3/service/Endpoint.go:38
↓ 1 callers
Function
CreateInstrumentMiddleware
( requestCount metrics.Counter, requestLatency metrics.Histogram, countResult metrics.Histogram, )
go-kit-tutorial/stringsvc3/service/Instrument.go:49
↓ 1 callers
Function
CreateLoggingMiddleware
(logger log.Logger)
go-kit-tutorial/stringsvc3/service/Logging.go:14
↓ 1 callers
Function
CreatePrebuiltInstrumentMiddleware
()
go-kit-tutorial/stringsvc3/service/Instrument.go:19
↓ 1 callers
Function
CreateUppercaseHandler
(ctx context.Context, svc StringService)
go-kit-tutorial/stringsvc3/service/Endpoint.go:21
↓ 1 callers
Function
CreateUppercaseProxyMiddleware
( instances string, ctx context.Context, logger log.Logger)
go-kit-tutorial/stringsvc3/service/Proxy.go:47
↓ 1 callers
Function
GetSearchSource
(kind string)
concurrency-patterns/14_google_search_v3.go:13
↓ 1 callers
Function
Google
(query string)
concurrency-patterns/13_google_search_v2.1.go:19
↓ 1 callers
Function
Google
(query string)
concurrency-patterns/14_google_search_v3.go:38
↓ 1 callers
Function
Google
(query string)
concurrency-patterns/11_google_search_v1.go:19
↓ 1 callers
Function
Google
(query string)
concurrency-patterns/12_google_search_v2.go:19
↓ 1 callers
Function
MakeCountEndpoint
(svc StringService)
go-kit-tutorial/stringsvc2/endpoint/StringServiceEndpoint.go:22
↓ 1 callers
Function
MakeUppercaseEndpoint
(svc StringService)
go-kit-tutorial/stringsvc2/endpoint/StringServiceEndpoint.go:10
↓ 1 callers
Function
Modify1
(u *User, name string)
pointer/things-i-wish-someone-had-told-me-about-go.go:42
↓ 1 callers
Function
Modify2
(u User, name string)
pointer/things-i-wish-someone-had-told-me-about-go.go:46
↓ 1 callers
Function
Modify3
(u *User, name string)
pointer/things-i-wish-someone-had-told-me-about-go.go:50
↓ 1 callers
Method
Parse
(s string)
json/json-interfaces-and-go-generate.go:128
↓ 1 callers
Method
Read
(b []byte)
a-tour-of-go/src/interfaces/ReaderExercise_test.go:25
↓ 1 callers
Function
Scale3
(v Vertex3, f float64)
a-tour-of-go/src/methods/MethodsAndInterfaces_test.go:72
↓ 1 callers
Function
Scale4
(v *Vertex3, f float64)
a-tour-of-go/src/methods/MethodsAndInterfaces_test.go:77
↓ 1 callers
Function
Search
(query string)
go-for-java-programmers/google-search-frontend.go:72
↓ 1 callers
Function
Sleep
Sleep kills some time (fake load)
concurrency-is-not-parallelism/load-balancer.go:82
↓ 1 callers
Function
WaitMany
(a, b chan bool)
channel/curious-channels.go:8
↓ 1 callers
Function
_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 callers
Function
add
(x, y int)
a-tour-of-go/src/basics/Basics_test.go:23
↓ 1 callers
Function
boring
(msg string, quit chan bool)
concurrency-patterns/06_quit_channel.go:22
↓ 1 callers
Function
boring
(msg string, c chan string)
concurrency-patterns/00_basic.go:21
↓ 1 callers
Function
boring
(msg string)
concurrency-patterns/05_select_all_timeout.go:25
↓ 1 callers
Function
boring
(msg string)
concurrency-patterns/04_select_timeout.go:26
↓ 1 callers
Function
boring
(msg string, quit chan string)
concurrency-patterns/07_quit_channel_cleanup.go:24
↓ 1 callers
Function
closure1
(n int)
golang-cheat-sheet/closure.go:13
↓ 1 callers
Function
closure2
()
golang-cheat-sheet/closure.go:28
↓ 1 callers
Function
closure3
(n int)
golang-cheat-sheet/closure.go:40
↓ 1 callers
Method
complete
(w *Worker)
concurrency-is-not-parallelism/load-balancer.go:57
↓ 1 callers
Function
createCountEndpoint
(svc StringService)
go-kit-tutorial/stringsvc3/service/Endpoint.go:30
↓ 1 callers
Function
createUppercaseEndpoint
(svc StringService)
go-kit-tutorial/stringsvc3/service/Endpoint.go:9
↓ 1 callers
Function
createUppercaseProxy
(proxyURL string)
go-kit-tutorial/stringsvc3/service/Proxy.go:84
↓ 1 callers
Method
dispatch
(req Request)
concurrency-is-not-parallelism/load-balancer.go:50
↓ 1 callers
Function
f
()
defer-panic-recover/defer-panic-recover.go:120
↓ 1 callers
Function
f
(left, right chan int)
concurrency-patterns/08_daisy_chain.go:7
↓ 1 callers
Function
fanIn
(inputs ...<-chan Message)
concurrency-patterns/03_restoring_sequence.go:31
↓ 1 callers
Function
fanIn
(inputs ...<-chan string)
concurrency-patterns/02_fan_in.go:21
↓ 1 callers
Function
fibo1
(n int, c chan int)
a-tour-of-go/src/concurrencies/Goroutines_test.go:94
↓ 1 callers
Function
fibo2
* 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 callers
Function
g
(i int)
defer-panic-recover/defer-panic-recover.go:135
↓ 1 callers
Function
getMyError
()
understanding-nil/understanding-nil.go:58
↓ 1 callers
Function
getRuntimeOS
()
golang-cheat-sheet/switch-statement.go:24
↓ 1 callers
Function
mergeReflect
(chans ...<-chan int)
just-for-func/027_two-ways-of-merging-N-channels/main.go:68
↓ 1 callers
Function
new
(text string)
errors/error-handling-and-go.go:22
↓ 1 callers
Function
parseProxyList
(s string)
go-kit-tutorial/stringsvc3/service/Proxy.go:105
↓ 1 callers
Function
pass
(expr bool)
golang-cheat-sheet/map-usage.go:33
↓ 1 callers
Function
raiseMyError
()
a-tour-of-go/src/interfaces/Errors_test.go:27
↓ 1 callers
Function
rotate13
(b byte)
a-tour-of-go/src/interfaces/ReaderExercise_test.go:13
↓ 1 callers
Method
sum
nil receivers are useful
understanding-nil/make-zero-value-useful.go:191
↓ 1 callers
Function
wrapGetMyError
()
understanding-nil/understanding-nil.go:62
Method
Abs
()
a-tour-of-go/src/methods/MethodsAndInterfaces_test.go:34
Method
Abs
()
a-tour-of-go/src/interfaces/Interfaces_test.go:17
Method
Abs
()
a-tour-of-go/src/interfaces/Interfaces_test.go:25
next →
1–100 of 280, ranked by callers