MCPcopy Create free account

hub / github.com/davecheney/introduction-to-go / functions

Functions149 in github.com/davecheney/introduction-to-go

↓ 10 callersFunctionIndex
Index returns the index of the first instance of sub in s, or -1 if sub is not present in s.
src/simplestrings/simplestrings.go:5
↓ 4 callersMethodString
()
src/katas/methods/answers.go:11
↓ 2 callersFunctionAReader
AReader returns an io.Reader which returns n 'A' characters
src/katas/readers/answers.go:27
↓ 2 callersFunctionCountLines
(path string)
src/katas/errorhandling/errorhandling.go:8
↓ 2 callersMethodString
()
src/pointers/pointers1.go:8
↓ 1 callersFunctionA
Double returns a number two times larger than i.
src/functions/functions4/main.go:6
↓ 1 callersFunctionCombine
Combine returns an io.Reader which represents the contents of a and b.
src/katas/readers/answers.go:9
↓ 1 callersFunctionCountDir
(dir string)
src/katas/countdir/countdir.go:35
↓ 1 callersFunctionCountFile
(path string)
src/katas/countmanyfiles/countmanyfiles.go:20
↓ 1 callersFunctionCountFile
(path string)
src/katas/countdir/countdir.go:22
↓ 1 callersFunctionCountLines
(r io.Reader)
src/katas/countmanyfiles/countmanyfiles.go:11
↓ 1 callersFunctionCountLines
(path string)
src/katas/countlines/count.go:9
↓ 1 callersFunctionCountLines
(r io.Reader)
src/katas/countdir/countdir.go:13
↓ 1 callersFunctionCountLines
(r io.Reader)
src/katas/linecount/linecount.go:11
↓ 1 callersMethodGetX
()
src/katas/methods/methods.go:13
↓ 1 callersMethodMove
(x, y int)
src/katas/pointers/answers.go:13
↓ 1 callersMethodMove
(x, y int)
src/pointers/pointers1.go:10
↓ 1 callersFunctionMyPet
()
src/katas/structs/structs.go:8
↓ 1 callersFunctionReadAll
ReadAll reads all the lines of text from r and returns all the data read as a string
src/katas/input/input.go:12
↓ 1 callersFunctionSwap
Swap switches the values of a and b
src/functions/functions4/main.go:11
↓ 1 callersFunctioncountLines
(path string)
src/katas/httplinecount/answer.go:53
↓ 1 callersFunctionencode
(t *testing.T, p *Person)
src/katas/jsonenc/jsonenc_test.go:10
↓ 1 callersFunctionf
(x int)
src/scope/scope1/main.go:5
↓ 1 callersFunctionf
()
src/scope/scope2/main.go:5
↓ 1 callersFunctionf
()
src/scope/scope3/main.go:5
↓ 1 callersFunctionhello
HL
src/packages/packages1/main.go:3
↓ 1 callersFunctionhello
START OMIT
src/functions/functions3/main.go:4
↓ 1 callersFunctionhello
START OMIT
src/functions/functions2/main.go:4
FunctionAReader
AReader returns an io.Reader which returns n 'A' characters
src/katas/readers/readers.go:28
FunctionCombine
Combine returns an io.Reader which represents the contents of a and b.
src/katas/readers/readers.go:10
FunctionContains
Contains reports whether substr is within s.
src/simplestrings/simplestrings.go:19
FunctionCountLines
START OMIT
src/defer/defer1.go:10
MethodGetY
()
src/katas/methods/methods.go:17
FunctionHasPrefix
HasPrefix tests whether the string s begins with prefix.
src/simplestrings/simplestrings.go:24
FunctionHelloServer
(w http.ResponseWriter, req *http.Request)
src/hellohttp/hellohttp.go:14
MethodMove
(x, y int)
src/katas/pointers/pointers.go:11
MethodRead
(buf []byte)
src/katas/readers/answers.go:19
MethodRead
(buf []byte)
src/katas/readers/readers.go:20
MethodString
()
src/katas/methods/methods.go:9
MethodString
()
src/katas/pointers/answers.go:9
MethodString
()
src/katas/pointers/pointers.go:7
FunctionTestAReader10
(t *testing.T)
src/katas/readers/readers_test.go:24
FunctionTestAReader20
(t *testing.T)
src/katas/readers/readers_test.go:35
FunctionTestCities
(t *testing.T)
src/katas/sprintf/answers_test.go:20
FunctionTestCities
(t *testing.T)
src/katas/sprintf/sprintf_test.go:18
FunctionTestCombineReaders
(t *testing.T)
src/katas/readers/readers_test.go:10
FunctionTestCountLines
(t *testing.T)
src/katas/errorhandling/errorhandling_test.go:5
FunctionTestCountLines
(t *testing.T)
src/katas/countlines/count_test.go:5
FunctionTestEmptyStringReturnsZero
(t *testing.T)
src/simplestrings/simplestrings_test.go:21
FunctionTestIndexEmptyString
(t *testing.T)
src/simplestrings/answers_test.go:30
FunctionTestIndexEmptySubString
(t *testing.T)
src/simplestrings/answers_test.go:23
FunctionTestIndexFound
(t *testing.T)
src/simplestrings/answers_test.go:9
FunctionTestIndexNotFound
(t *testing.T)
src/simplestrings/answers_test.go:16
FunctionTestIsTuesdayAWeekeday
(t *testing.T)
src/simplestrings/simplestrings_test.go:7
FunctionTestMissingFile
(t *testing.T)
src/katas/errorhandling/errorhandling_test.go:16
FunctionTestMondayNotFoundInEmptyString
(t *testing.T)
src/simplestrings/simplestrings_test.go:28
FunctionTestMyPet
(t *testing.T)
src/katas/structs/structs_test.go:5
FunctionTestPerson
(t *testing.T)
src/katas/jsonenc/jsonenc_test.go:20
FunctionTestPointGetX
(t *testing.T)
src/katas/methods/methods_test.go:17
FunctionTestPointString
(t *testing.T)
src/katas/methods/methods_test.go:8
FunctionTestPointString
(t *testing.T)
src/katas/pointers/pointers_test.go:8
FunctionTestReadAll
(t *testing.T)
src/katas/input/input_test.go:8
FunctionTestSundayIsNotAWeekday
(t *testing.T)
src/simplestrings/simplestrings_test.go:14
FunctionTestTrainJourney
(t *testing.T)
src/katas/sprintf/answers_test.go:11
FunctionTestTrainJourney
(t *testing.T)
src/katas/sprintf/sprintf_test.go:9
FunctionbookController
(w http.ResponseWriter, r *http.Request)
src/katas/httplinecount/answer.go:21
Functionf
END1 OMIT START2 OMIT
src/scope/scope5/main.go:16
Functiongreet
(w http.ResponseWriter, r *http.Request)
src/httpmux/httpmux.go:10
Functiongreet
(w http.ResponseWriter, r *http.Request)
src/http/http2.go:10
Functionindex
(w http.ResponseWriter, r *http.Request)
src/http/http1.go:8
Functionmain
()
src/strings/strings1/main.go:3
Functionmain
()
src/helloworld/hello.go:5
Functionmain
()
src/loops/loops1/main.go:3
Functionmain
()
src/loops/loops2/main.go:3
Functionmain
()
src/packages/packages1/main.go:7
Functionmain
HL
src/packages/packages2/main.go:3
Functionmain
()
src/types/types2/main.go:5
Functionmain
()
src/types/types1/main.go:3
Functionmain
()
src/types/types3/main.go:5
Functionmain
()
src/types/types4/main.go:5
Functionmain
START OMIT
src/maps/maps2/main.go:6
Functionmain
()
src/maps/maps5/main.go:5
Functionmain
START OMIT
src/maps/maps3/main.go:6
Functionmain
()
src/maps/maps4/main.go:5
Functionmain
()
src/maps/maps1/main.go:5
Functionmain
()
src/maps/maps2a/main.go:7
Functionmain
()
src/maps/maps6/main.go:5
Functionmain
()
src/httpmux/httpmux.go:17
Functionmain
()
src/conditionals/conditionals2/main.go:3
Functionmain
()
src/conditionals/conditionals3/main.go:3
Functionmain
()
src/conditionals/conditionals1/main.go:3
Functionmain
()
src/const/const1/main.go:3
Functionmain
()
src/equality/equality1/main.go:5
Functionmain
()
src/http/http1.go:12
Functionmain
()
src/http/http2.go:16
Functionmain
()
src/assignment/assignment1/main.go:3
Functionmain
()
src/assignment/assignment2/main.go:3
Functionmain
()
src/increment/increment1/main.go:3
Functionmain
()
src/increment/increment2/main.go:3
Functionmain
()
src/zerovalue/zerovalue1/main.go:5
next →1–100 of 149, ranked by callers