MCPcopy Create free account

hub / github.com/ardanlabs/gotraining / functions

Functions1,474 in github.com/ardanlabs/gotraining

↓ 1 callersMethodDailyReport
(day time.Time)
topics/go/videos/miki/shorts/http_flusher/main.go:56
↓ 1 callersFunctionDecodeVarint
DecodeVarint takes a variable length VLQ based integer and decodes it into a 32 bit integer.
topics/go/algorithms/fun/vlq/vlq.go:10
↓ 1 callersFunctionDoubleUnderlying
(n Numbers)
topics/go/generics/09-slice-constraints/generic.go:68
↓ 1 callersFunctionDoubleUserDefined
(n Numbers)
topics/go/generics/09-slice-constraints/generic.go:78
↓ 1 callersFunctionEncodeVarint
EncodeVarint takes a 32 bit integer and encodes it into a variable length VLQ based integer.
topics/go/algorithms/fun/vlq/vlq.go:49
↓ 1 callersMethodEnterCustomer
EnterCustomer is called to create a customer to be serviced. If the shop is closed the function returns an error. If the shop is open, a goroutine is
topics/go/algorithms/fun/barber/shop/shop.go:89
↓ 1 callersMethodEvent
()
topics/go/videos/miki/shorts/json_stream/db.go:29
↓ 1 callersMethodEvent
()
topics/go/videos/miki/building/embed/static/bootstrap.js:3660
↓ 1 callersMethodFindReverse
FindReverse traverses the list in the opposite direction looking for the specified data.
topics/go/algorithms/data/list/list.go:114
↓ 1 callersFunctionFreePort
FreePort return random free port to use.
topics/go/videos/miki/shorts/free_port/main.go:9
↓ 1 callersMethodHealth
(ctx context.Context)
topics/go/videos/miki/shorts/client/client.go:18
↓ 1 callersMethodHealth
()
topics/go/videos/miki/interfaces/mocking/client/client.go:21
↓ 1 callersFunctionHealthHandler
(w http.ResponseWriter, r *http.Request)
topics/go/videos/miki/shorts/files/files.go:8
↓ 1 callersMethodInOrder
InOrder traversal travel from the leftmost node to the rightmost nodes regardless of depth. In-order traversal gives node values in ascending order.
topics/go/algorithms/data/tree/binary/binary.go:83
↓ 1 callersMethodInsert
Insert adds a value into the tree and keeps the tree balanced.
topics/go/algorithms/data/tree/binary/binary.go:23
↓ 1 callersFunctionIs
Is check if two strings are permutations.
topics/go/algorithms/strings/permutation/permutation.go:16
↓ 1 callersFunctionIs
Is checks if a string is a Palindrome.
topics/go/algorithms/strings/palindrome/palindrome.go:6
↓ 1 callersFunctionIs
Is checks if a integer is a Palindrome.
topics/go/algorithms/numbers/palindrome/palindrome.go:6
↓ 1 callersFunctionIsEven
IsEven checks is an integer is even.
topics/go/algorithms/bits/iseven/iseven.go:4
↓ 1 callersFunctionLimitReader
LimitReader returns a Reader that reads from r but stops with EOF after n bytes. The underlying implementation is a *LimitedReader.
topics/go/generics/13-io/generic.go:409
↓ 1 callersFunctionLinkedListTraverse
LinkedListTraverse traverses the linked list linearly.
topics/go/testing/benchmarks/caching/caching.go:58
↓ 1 callersFunctionLogin
(user, passwd string)
topics/go/videos/miki/interfaces/nil_error/auth/auth.go:14
↓ 1 callersFunctionMake
Make allows the creation of a stack with an initial capacity for efficiency. Otherwise a stack can be used in its zero value state.
topics/go/algorithms/data/stack/stack.go:22
↓ 1 callersFunctionMarkdownList
(items []string)
topics/go/videos/miki/shorts/markdown_list/main.go:8
↓ 1 callersFunctionMax
(values []T)
topics/go/videos/miki/shorts/trimpath/stats/stats.go:7
↓ 1 callersFunctionMax
Max returns the maximum integer in the slice.
topics/go/algorithms/slices/max/max.go:6
↓ 1 callersFunctionMin
(a, b T)
topics/go/generics/omissions/03-type-assertions/generic.go:19
↓ 1 callersFunctionMin
Min returns the minimum integer in the slice.
topics/go/algorithms/slices/min/min.go:6
↓ 1 callersMethodMul
(*T, *T)
topics/go/generics/12-pointer-methods/generic.go:50
↓ 1 callersFunctionNew
New creates and returns values of the unexported type alertCounter.
topics/go/language/exporting/example3/counters/counters.go:12
↓ 1 callersFunctionNew
New creates values of type toy.
topics/go/language/exporting/exercises/exercise1/toy/toy.go:17
↓ 1 callersFunctionNew
New creates a pubsub value for use.
topics/go/design/composition/mocking/example1/pubsub/pubsub.go:16
↓ 1 callersFunctionNew
http://golang.org/src/pkg/errors/errors.go New returns an error that formats as the given text.
topics/go/design/error_handling/example1/example1.go:26
↓ 1 callersFunctionNew
(url string)
topics/go/videos/miki/interfaces/mocking/client/client.go:13
↓ 1 callersFunctionNew
(w io.Writer)
topics/go/videos/miki/interfaces/type_assertion/logger/logger.go:17
↓ 1 callersFunctionNew
New creates a logger value and initializes it for use. The user can pass the size of the buffer to use for continuity.
topics/go/concurrency/patterns/logger/logger.go:23
↓ 1 callersFunctionNew
New creates a new work pool.
topics/go/concurrency/patterns/task/task.go:23
↓ 1 callersFunctionNew
New creates a new chatroom.
topics/go/concurrency/patterns/chat/chat.go:206
↓ 1 callersFunctionNew
New creates a pool that manages resources. A pool requires a function that can allocate a new resource and the size of the pool.
topics/go/concurrency/patterns/pool/pool.go:33
↓ 1 callersFunctionNew
New returns a new hash table.
topics/go/algorithms/data/hash/hash.go:24
↓ 1 callersFunctionNewAPIClient
(baseURL string)
topics/go/videos/miki/shorts/client/client.go:14
↓ 1 callersFunctionNewBBC
NewBBC returns a BBC Searcher value.
topics/go/profiling/project/search/bbc.go:16
↓ 1 callersFunctionNewCNN
NewCNN returns a CNN Searcher value.
topics/go/profiling/project/search/cnn.go:16
↓ 1 callersFunctionNewCachingFeed
NewCachingFeed initializes a CachingFeed for use.
topics/go/language/embedding/exercises/exercise1/exercise1.go:52
↓ 1 callersFunctionNewClient
NewClient builds a Client value. It validates that the token field is set and is not blank. It sets internal state for the http client. Call it like:
topics/go/exercises/contributors/part2/github/client.go:20
↓ 1 callersFunctionNewClients
NewClients returns a clients management value.
topics/go/algorithms/fun/pubsub/clients.go:17
↓ 1 callersFunctionNewDB
()
topics/go/videos/miki/shorts/json_stream/db.go:11
↓ 1 callersFunctionNewDB
(dsn string)
topics/go/videos/miki/building/embed/db.go:20
↓ 1 callersFunctionNewNYT
NewNYT returns a NYT Searcher value.
topics/go/profiling/project/search/nyt.go:16
↓ 1 callersFunctionNewPublisher
NewPublisher connects to the publisher can receives messages.
topics/go/algorithms/fun/pubsub/publisher.go:15
↓ 1 callersFunctionNewReplaceReader
NewReplaceReader returns an io.Reader that reads from r, replacing any occurrence of old with new. Used by algFour.
topics/go/packages/io/example4/example4.go:284
↓ 1 callersFunctionNewServer
NewServer returns an interface value of type Server with a server implementation.
topics/go/design/composition/pollution/example2/example2.go:17
↓ 1 callersFunctionNewServer
NewServer returns an interface value of type Server with a server implementation.
topics/go/design/composition/pollution/example1/example1.go:24
↓ 1 callersMethodNext
(v any)
topics/go/videos/miki/shorts/http_flusher/main.go:60
↓ 1 callersMethodOnHand
OnHand returns the current number of this toy on hand.
topics/go/language/exporting/exercises/exercise1/toy/toy.go:26
↓ 1 callersFunctionOpen
Open creates a new shop for business and gets the barber working.
topics/go/algorithms/fun/barber/shop/shop.go:51
↓ 1 callersMethodOperate
Operate accepts a function that takes data and calls the specified function for every piece of data found. It traverses from the top down through the
topics/go/algorithms/data/stack/stack.go:70
↓ 1 callersMethodOperate
Operate accepts a function that takes data and calls the specified function for every piece of data found.
topics/go/algorithms/data/queue/queue.go:108
↓ 1 callersMethodPostOrder
PostOrder traversal get the leftmost node then its sibling then go up to its parent, recursively. Use cases: tree deletion, mapping postfix notation.
topics/go/algorithms/data/tree/binary/binary.go:101
↓ 1 callersMethodPreOrder
PreOrder traversal get the root node then traversing its child nodes recursively. Use cases: copying tree, mapping prefix notation. #1 \ #2 #5 \
topics/go/algorithms/data/tree/binary/binary.go:65
↓ 1 callersFunctionPrint
============================================================================= Print is a function that accepts a slice of some type L and a slice of s
topics/go/generics/06-multi-type-params/generic.go:15
↓ 1 callersFunctionPtr
Ptr returns pointer of value.
topics/go/videos/miki/shorts/query/generics/query.go:27
↓ 1 callersMethodPublish
(key string, v interface{})
topics/go/design/composition/mocking/example1/example1.go:15
↓ 1 callersFunctionReadAtLeast
ReadAtLeast reads from r into buf until it has read at least min bytes. It returns the number of bytes copied and an error if fewer bytes were read. T
topics/go/generics/13-io/generic.go:280
↓ 1 callersMethodRelease
Release places a new resource onto the pool.
topics/go/concurrency/patterns/pool/pool.go:64
↓ 1 callersFunctionRequestID
Middleware that adds request ID to request context
topics/go/videos/miki/shorts/request_ctx/main.go:18
↓ 1 callersFunctionReverse
Reverse gives the reversed form of s. This is the first (mostly) correct implementation. It breaks for strings with combining characters; "noël" bec
topics/go/testing/strings/example3/reverse.go:15
↓ 1 callersFunctionReverse
Reverse gives the reversed form of s. This is the first real attempt. It fails on multibyte input.
topics/go/testing/strings/example2/reverse.go:10
↓ 1 callersFunctionReverse
Reverse gives the reversed form of s. This is the initial implementation. It passes our test so it must be good! :)
topics/go/testing/strings/example1/reverse.go:11
↓ 1 callersMethodRoundTrip
RoundTrip wraps http.DefaultTransport.RoundTrip to keep track of the current request.
topics/go/profiling/http_trace/example2/example2.go:22
↓ 1 callersFunctionRoutes
Routes initializes the routes.
topics/go/testing/fuzzing/example1/example1.go:23
↓ 1 callersFunctionRowTraverse
RowTraverse traverses the matrix linearly down each row.
topics/go/testing/benchmarks/caching/caching.go:89
↓ 1 callersFunctionRun
Run binds the service to a port and starts listening for requests.
topics/go/profiling/project/service/service.go:30
↓ 1 callersFunctionRunner
Runner simulates a person running in the relay race.
topics/go/concurrency/channels/example3/example3.go:36
↓ 1 callersMethodSearch
(uid string, term string, found chan<- []Result)
topics/go/profiling/project/search/search.go:37
↓ 1 callersMethodSend
Send will deliver the message to all existing clients.
topics/go/algorithms/fun/pubsub/clients.go:52
↓ 1 callersFunctionSequential
Sequential uses a sequential algorithm.
topics/go/algorithms/fun/freq/freq.go:11
↓ 1 callersMethodSet
(s string)
topics/go/videos/miki/shorts/date_flag/main.go:23
↓ 1 callersMethodShutdown
Shutdown disconnects the publisher and stop messages.
topics/go/algorithms/fun/pubsub/publisher.go:37
↓ 1 callersMethodSold
Sold returns the current number of this toy sold.
topics/go/language/exporting/exercises/exercise1/toy/toy.go:39
↓ 1 callersMethodStart
Start allows the server to begin to accept requests.
topics/go/design/composition/pollution/example2/example2.go:24
↓ 1 callersMethodStop
Stop shuts the server down.
topics/go/design/composition/pollution/example2/example2.go:31
↓ 1 callersMethodString
()
topics/go/generics/06-multi-type-params/generic.go:30
↓ 1 callersFunctionSubmit
Submit uses goroutines and channels to perform a search against the feeds concurrently.
topics/go/profiling/project/search/search.go:42
↓ 1 callersMethodSubscribe
(key string)
topics/go/design/composition/mocking/example1/example1.go:16
↓ 1 callersMethodSync
()
topics/go/videos/miki/interfaces/type_assertion/logger/logger.go:9
↓ 1 callersMethodUnit
()
topics/go/videos/miki/interfaces/escape/weather/bench_test.go:13
↓ 1 callersFunctionUnmarshal
Unmarshal simulates an unmarshal call that always fails.
topics/go/design/error_handling/example3/example3.go:68
↓ 1 callersFunctionUnpackUsers
UnpackUsers knows how to extract user values from the binary data.
topics/go/testing/fuzzing/exercises/exercise1/exercise1.go:21
↓ 1 callersMethodUpdateOnHand
UpdateOnHand updates the on hand count and returns the current value.
topics/go/language/exporting/exercises/exercise1/toy/toy.go:32
↓ 1 callersMethodUpdateSold
UpdateSold updates the sold count and returns the current value.
topics/go/language/exporting/exercises/exercise1/toy/toy.go:45
↓ 1 callersMethodWait
Wait prevents the server from accepting new connections.
topics/go/design/composition/pollution/example2/example2.go:38
↓ 1 callersMethodWork
()
topics/go/concurrency/patterns/task/task.go:12
↓ 1 callersMethod_addEventListeners
()
topics/go/videos/miki/building/embed/static/bootstrap.js:1292
↓ 1 callersMethod_addEventListeners
()
topics/go/videos/miki/building/embed/static/bootstrap.js:3357
↓ 1 callersMethod_addTouchEventListeners
()
topics/go/videos/miki/building/embed/static/bootstrap.js:1307
↓ 1 callersMethod_append
()
topics/go/videos/miki/building/embed/static/bootstrap.js:2608
↓ 1 callersMethod_createPopper
(parent)
topics/go/videos/miki/building/embed/static/bootstrap.js:2156
↓ 1 callersMethod_destroyElement
()
topics/go/videos/miki/building/embed/static/bootstrap.js:824
↓ 1 callersMethod_directionToOrder
(direction)
topics/go/videos/miki/building/embed/static/bootstrap.js:1521
← previousnext →301–400 of 1,474, ranked by callers