MCPcopy Create free account

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

Functions280 in github.com/1ambda/golang

FunctionTestMerge
(t *testing.T)
just-for-func/027_two-ways-of-merging-N-channels/main_test.go:17
MethodTimeout
()
errors/error-handling-and-go.go:40
MethodUnmarshalJSON
(b []byte)
interface/how-to-use-interfaces-in-go.go:113
MethodUnmarshalJSON
(data []byte)
json/roman-numerals.go:38
MethodUnmarshalJSON
(data []byte)
json/json-interfaces-and-go-generate.go:60
MethodUnmarshalJSON
(data []byte)
json/json-interfaces-and-go-generate.go:75
MethodUppercase
(s string)
go-kit-tutorial/stringsvc2/service/Logging.go:13
MethodUppercase
(string)
go-kit-tutorial/stringsvc2/service/StringService.go:10
MethodUppercase
(s string)
go-kit-tutorial/stringsvc2/service/StringService.go:16
MethodUppercase
(s string)
go-kit-tutorial/stringsvc2/service/InstrumentMiddleware.go:16
MethodUppercase
(s string)
go-kit-tutorial/stringsvc3/service/Proxy.go:30
MethodUppercase
(s string)
go-kit-tutorial/stringsvc3/service/Logging.go:20
MethodUppercase
(string)
go-kit-tutorial/stringsvc3/service/Service.go:10
MethodUppercase
(s string)
go-kit-tutorial/stringsvc3/service/Service.go:18
MethodUppercase
(s string)
go-kit-tutorial/stringsvc3/service/Instrument.go:59
MethodUppercase
(s string)
go-kit-tutorial/stringsvc/service/StringService.go:16
Methodbalance
(work chan Request)
concurrency-is-not-parallelism/load-balancer.go:35
FunctionbuggyCopyFile
(srcName, dstName string)
defer-panic-recover/defer-panic-recover.go:9
FunctioncopyFile
(srcName, dstName string)
defer-panic-recover/defer-panic-recover.go:26
FunctiondeferTest
()
a-tour-of-go/src/basics/Basics_test.go:148
Functionf1
()
a-tour-of-go/src/basics/Basics_test.go:11
Functionf2
()
a-tour-of-go/src/basics/Basics_test.go:15
Functionf3
()
a-tour-of-go/src/basics/Basics_test.go:19
FunctionhandleSearch
handleSearch handles URLs like "/search?q=golang" by running a Google search for "golang" and writing the results as HTML to w.
go-for-java-programmers/google-search-frontend.go:30
Functionhandler2
(w http.ResponseWriter, r *http.Request)
go-tooling-in-action/email-server.go:37
Functionmain
()
defer-panic-recover/defer-panic-recover.go:42
Functionmain
()
a-taste-of-go/point.go:19
Functionmain
()
a-taste-of-go/idents.go:9
Functionmain
()
go-for-java-programmers/google-search-frontend.go:13
Functionmain
()
interface/how-to-use-interfaces-in-go.go:10
Functionmain
()
just-for-func/027_two-ways-of-merging-N-channels/main.go:11
Functionmain
()
go-kit-tutorial/stringsvc2/Server.go:21
Functionmain
()
go-kit-tutorial/stringsvc3/Server.go:15
Functionmain
()
go-kit-tutorial/stringsvc/Main.go:17
Functionmain
See more: https://golang.org/doc/faq#nil_error
errors/error-handling-and-go.go:46
Functionmain
()
golang-cheat-sheet/closure.go:3
Functionmain
()
golang-cheat-sheet/map-usage.go:8
Functionmain
()
golang-cheat-sheet/switch-statement.go:3
Functionmain
()
golang-cheat-sheet/if-statement.go:3
Functionmain
()
channel/curious-channels.go:19
Functionmain
Ref: https://blog.golang.org/go-maps-in-action
map/map-in-action.go:14
Functionmain
()
concurrency-patterns/13_google_search_v2.1.go:47
Functionmain
()
concurrency-patterns/03_restoring_sequence.go:14
Functionmain
()
concurrency-patterns/08_daisy_chain.go:11
Functionmain
()
concurrency-patterns/14_google_search_v3.go:66
Functionmain
()
concurrency-patterns/11_google_search_v1.go:33
Functionmain
()
concurrency-patterns/06_quit_channel.go:9
Functionmain
()
concurrency-patterns/00_basic.go:9
Functionmain
()
concurrency-patterns/12_google_search_v2.go:40
Functionmain
()
concurrency-patterns/05_select_all_timeout.go:9
Functionmain
()
concurrency-patterns/02_fan_in.go:9
Functionmain
()
concurrency-patterns/04_select_timeout.go:9
Functionmain
()
concurrency-patterns/01_generator.go:9
Functionmain
()
concurrency-patterns/07_quit_channel_cleanup.go:9
Functionmain
ref - https://talks.golang.org/2012/waza.slide#46
concurrency-is-not-parallelism/load-balancer.go:11
Functionmain
()
json/roman-numerals.go:18
Functionmain
()
json/json-interfaces-and-go-generate.go:22
Functionmain
()
pointer/things-i-wish-someone-had-told-me-about-go.go:9
Functionmain
()
understanding-nil/make-zero-value-useful.go:9
Functionmain
()
understanding-nil/understanding-nil.go:5
Functionmain
()
go-tooling-in-action/email-server.go:12
Functionmerge
more concurrent
just-for-func/027_two-ways-of-merging-N-channels/main.go:41
Functionmerge1
slow
just-for-func/027_two-ways-of-merging-N-channels/main.go:22
Functionmerge1
PROBLEM: run forever if `out` is closed
understanding-nil/make-zero-value-useful.go:173
Functionmerge2
(out chan<- int, a, b <-chan int)
understanding-nil/make-zero-value-useful.go:148
Functionmerge3
(out chan<- int, a, b <-chan int)
understanding-nil/make-zero-value-useful.go:127
FunctionmergeRecur
(chans ...<-chan int)
just-for-func/027_two-ways-of-merging-N-channels/main.go:112
Functionpow1
(x, n, lim float64)
a-tour-of-go/src/basics/Basics_test.go:109
Functionpow2
(x, n, lim float64)
a-tour-of-go/src/basics/Basics_test.go:117
FunctionprintOS
()
a-tour-of-go/src/basics/Basics_test.go:137
Functionsplit
(sum int)
a-tour-of-go/src/basics/Basics_test.go:31
Functionsqrt
(x float64)
a-tour-of-go/src/basics/Basics_test.go:101
Functionsum
(xs []int)
a-tour-of-go/src/basics/Basics_test.go:79
Methodsum
()
understanding-nil/make-zero-value-useful.go:118
Methodsum1
problem of sum1 - code repretition: `if v != nil...` - panic when `t` is nil
understanding-nil/make-zero-value-useful.go:218
Functionswap
(s1, s2 string)
a-tour-of-go/src/basics/Basics_test.go:27
Functiontest
(expr bool)
golang-cheat-sheet/if-statement.go:22
Functionuse
(vals ...interface{})
map/map-in-action.go:116
Methodwork
(done chan *Worker)
concurrency-is-not-parallelism/load-balancer.go:63
FunctionworkFn
()
concurrency-is-not-parallelism/load-balancer.go:88
← previous201–280 of 280, ranked by callers