MCPcopy Create free account

hub / github.com/PacktPublishing/Learning-Go-Programming / functions

Functions553 in github.com/PacktPublishing/Learning-Go-Programming

↓ 35 callersFunctionNew
(elems ...float64)
ch12/vector/vec.go:28
↓ 28 callersMethodAdd
(other Vector)
ch12/vector/vec.go:16
↓ 23 callersMethodString
()
ch12/vector/vec.go:14
↓ 18 callersFunctioncap
(p *struct{ first, last string })
ch04/derefptr.go:21
↓ 9 callersMethodMag
()
ch12/vector/vec.go:21
↓ 8 callersMethodWrite
(p []byte)
ch10/writer1.go:15
↓ 7 callersMethodEq
(other Vector)
ch12/vector/vec.go:15
↓ 6 callersMethodMag
Mag computes the magnitude of the vector
ch12/vector/vec.go:107
↓ 6 callersMethodRead
(p []byte)
ch10/reader2.go:17
↓ 6 callersFunctionf
recursive factorial with big package
ch09/factorial.go:6
↓ 6 callersFunctionsave
saves into map, blows up upon dup key
ch07/map_use.go:33
↓ 6 callersMethodstart
()
ch08/interface.go:15
↓ 5 callersMethodDotProd
(other Vector)
ch12/vector/vec.go:19
↓ 5 callersMethodUnit
()
ch12/vector/vec.go:22
↓ 4 callersMethodAngle
(other Vector)
ch12/vector/vec.go:20
↓ 4 callersFunctionLoad
(path string)
ch11/curr0/currency.go:17
↓ 4 callersMethodSub
(other Vector)
ch12/vector/vec.go:17
↓ 4 callersMethodassertLenMatch
(other Vector)
ch12/vector/vec.go:32
↓ 4 callersFunctioneat
(f food)
ch08/interface_assert.go:23
↓ 4 callersFunctioneat
(f food)
ch08/interface_assert2.go:23
↓ 4 callersMethodeat
()
ch08/interface_assert2.go:8
↓ 4 callersFunctionfind
(name string)
ch03/switchstmt2.go:28
↓ 4 callersFunctionfindAny
(val interface{})
ch03/switchstmt2.go:48
↓ 3 callersFunctionFind
(table []Currency, filter string)
ch11/curr0/currency.go:45
↓ 3 callersMethodScale
(factor float64)
ch12/vector/vec.go:18
↓ 3 callersMethodarea
()
ch08/interface_impl2.go:9
↓ 3 callersFunctioncount
(start, stop, delta int)
ch09/goroutine2.go:21
↓ 3 callersFunctioncount
(start, stop, delta int)
ch09/goroutine1.go:14
↓ 3 callersFunctioncount
(start, stop, delta int)
ch09/goroutine0.go:18
↓ 3 callersFunctionlistCurrs
()
ch03/forstmt.go:58
↓ 3 callersFunctionnameStr
(n name)
ch07/struct_embed.go:21
↓ 3 callersFunctionprintAnyType
(val interface{})
ch08/interface_empty.go:19
↓ 3 callersFunctionshapeInfo
(s interface{})
ch08/interface_impl3.go:82
↓ 3 callersFunctionshapeInfo
(s shape)
ch08/interface_impl2.go:80
↓ 2 callersMethodDotProd
DotProd calculates the dot product using sum of prudcts
ch12/vector/vec.go:124
↓ 2 callersMethodEq2
Eq compares each vector components for equality
ch12/vector/vec.go:61
↓ 2 callersMethodadd
(vec0, vec1 vector.SimpleVector)
ch12/client/client.go:25
↓ 2 callersFunctionapply
apply uses a functional idiom to apply the provided function on each numer in nums
ch05/funcs.go:129
↓ 2 callersFunctiongalsToQrts
(gal gallon)
ch08/typedef.go:12
↓ 2 callersFunctionheaders
return column headers
ch01/metalloids.go:45
↓ 2 callersFunctionmove
(v vehicle)
ch08/interface.go:66
↓ 2 callersFunctionnewCup
(qty float64)
ch08/other/embedstruct.go:64
↓ 2 callersFunctionnewCup
(qty float64)
ch08/other/structs.go:51
↓ 2 callersFunctionnewVecClient
(addr string)
ch12/client/client.go:18
↓ 2 callersFunctionnextPair
()
ch03/forstmt2.go:18
↓ 2 callersFunctionprint
()
ch03/deferstmt.go:52
↓ 2 callersFunctionprint
(strs []string)
ch07/slice_types.go:16
↓ 2 callersFunctionprintCurr
(number int)
ch03/ifstmt.go:31
↓ 2 callersMethodquart
()
ch08/methods.go:15
↓ 2 callersFunctionshapeInfo
(s shape)
ch08/interface_impl.go:53
↓ 2 callersMethodtoQuart
()
ch08/other/embedstruct.go:35
↓ 2 callersMethodtoQuart
()
ch08/other/structs.go:31
↓ 1 callersMethodAngle
Angle calculates the angle between two vectors (Rad)
ch12/vector/vec.go:134
↓ 1 callersFunctionDivMod
A Euclidean division adapted from the Wikipedia entry http://en.wikipedia.org/wiki/Division_algorithm. You also can find other implementations in the
ch01/testexample/divide.go:10
↓ 1 callersFunctionNewAlphaReader
(source io.Reader)
ch10/reader2.go:13
↓ 1 callersFunctionNewAlphaReader
(source io.Reader)
ch10/reader1.go:14
↓ 1 callersFunctionNewBigNumber
()
ch04/pointers2.go:8
↓ 1 callersFunctionNewChannelWriter
()
ch10/writer1.go:9
↓ 1 callersFunctionNewChannelWriter
()
ch10/writer2.go:13
↓ 1 callersFunctionPings
create channel
ch01/example5.go:7
↓ 1 callersFunctionPrintCurrencyInfo
* PrintCurrencyInfo outputs the currency information for a given country. This version of the function accepts three string parameters (curr, ctry, c
ch03/currinfo3.go:11
↓ 1 callersFunctionQux
()
ch06-foo/foo/bazz/qux.go:7
↓ 1 callersMethodSay
()
ch01/example2.go:9
↓ 1 callersMethodScale
Scale scales the vector
ch12/vector/vec.go:100
↓ 1 callersMethodServe
(id int)
ch09/sync4.go:37
↓ 1 callersMethodStart
()
ch09/sync2.go:14
↓ 1 callersMethodStart
()
ch09/sync3.go:14
↓ 1 callersMethodStart
()
ch09/sync1.go:10
↓ 1 callersMethodStart
()
ch09/sync4.go:15
↓ 1 callersMethodStop
()
ch09/sync2.go:23
↓ 1 callersMethodStop
()
ch09/sync3.go:24
↓ 1 callersMethodStop
()
ch09/sync1.go:17
↓ 1 callersMethodStop
()
ch09/sync4.go:28
↓ 1 callersMethodUnit
Unit returns the normalization of the vector
ch12/vector/vec.go:115
↓ 1 callersMethodWrite
(p []byte)
ch10/writer0.go:7
↓ 1 callersFunctionadd
(resp http.ResponseWriter, req *http.Request)
ch12/service/serv.go:11
↓ 1 callersFunctionadd
(v1, v2 []float64)
ch07/slice_use.go:30
↓ 1 callersFunctionapply
(nums []int, f func(int) int)
ch05/funchighorder.go:5
↓ 1 callersFunctionassertEuro
(c Curr)
ch03/switchstmt2.go:59
↓ 1 callersFunctionatoms
returns # of atoms moles
ch01/metalloids.go:40
↓ 1 callersFunctionavg
avg demonstrates variadic parameters. It returns the average of all values passed to function.
ch05/funcs.go:94
↓ 1 callersFunctionavg
(nums ...float64)
ch05/funcvariadic.go:5
↓ 1 callersFunctionavogadro
()
ch05/funcs.go:25
↓ 1 callersFunctionavogadro
()
ch05/func1.go:5
↓ 1 callersFunctioncelToKel
(c celsius)
ch04/typedef.go:21
↓ 1 callersFunctionclone
(v []float64)
ch07/slice_use.go:24
↓ 1 callersFunctioncount
(start, stop, delta int)
ch09/goroutine2a.go:17
↓ 1 callersFunctioncount
(start, stop, delta int)
ch09/goroutine5.go:19
↓ 1 callersFunctioncount
(start, stop, delta int)
ch09/goroutine3.go:20
↓ 1 callersFunctioncount
(start, stop, delta int)
ch09/goroutine4.go:20
↓ 1 callersMethodcount
(in <-chan string)
ch09/pattern7.go:46
↓ 1 callersMethodcup
()
ch08/methods.go:9
↓ 1 callersFunctioncupsToOz
(c cup)
ch08/typedef.go:20
↓ 1 callersFunctiondbl
(val float64)
ch05/funcpassbyval.go:8
↓ 1 callersFunctiondiv
(op0, op1 int)
ch05/funcret0.go:5
↓ 1 callersFunctiondiv
div is a simplistic implementtion of a Eucledian division algorithm that returns both quotient and remainer. See example divide.go
ch05/funcs.go:71
↓ 1 callersFunctiondiv
(dvdn, dvsr int)
ch05/funcret1.go:5
↓ 1 callersFunctiondivmod2
(dvdn, dvsr int)
ch05/divide.go:34
↓ 1 callersFunctiondo
(steps ...string)
ch05/defer2.go:5
↓ 1 callersFunctiondo
(steps ...string)
ch05/defer1.go:5
next →1–100 of 553, ranked by callers