MCPcopy Create free account

hub / github.com/MarioCarrion/videos / functions

Functions638 in github.com/MarioCarrion/videos

↓ 41 callersMethodString
()
2022/01/21/4-dont-return-interfaces/main.go:10
↓ 33 callersMethodParse
()
2021/12/21/receivername/receivername.go:5
↓ 32 callersMethodAdd
- Add updates the local value by adding the received one.
2022/06/24/main.go:87
↓ 23 callersMethodError
()
2021/08/27/02-vet-error-is-as/main.go:7
↓ 20 callersMethodExecContext
(context.Context, string, ...interface{})
2021/02/09-go-database-postgresql-part-3/db.go:11
↓ 19 callersMethodDone
()
2025/go-1-24-0/05-testing/example.go:24
↓ 17 callersMethodQuery
(context.Context, string, ...any)
2023/transaction-in-context/internal/postgresql/postgresql.go:14
↓ 16 callersMethodErr
()
2021/12/02/pgx/main.go:77
↓ 16 callersMethodQueryRowContext
(context.Context, string, ...interface{})
2021/02/09-go-database-postgresql-part-3/db.go:14
↓ 15 callersMethodIs
(err error)
2021/08/27/02-vet-error-is-as/main.go:11
↓ 14 callersMethodExit
()
2021/10/01/02-cancellation/main.go:94
↓ 13 callersMethodClose
Close indicates all subscribers no more messages are going to be sent.
2022/06/24/main.go:73
↓ 13 callersMethodGet
(ctx context.Context, key string)
2022/08/26/05-final/config.go:32
↓ 12 callersMethodClose
()
2021/01/26-go-caching-memcached/postgresql.go:25
↓ 12 callersMethodQueryRow
(context.Context, string, ...any)
2023/transaction-in-context/internal/postgresql/postgresql.go:15
↓ 10 callersMethodRead
()
2021/09/02/01-sync-read/main.go:117
↓ 8 callersMethodEqual
Equal ...
2021/01/23-go-package-equality-google-go-cmp/sum.go:46
↓ 8 callersMethodPrint
()
2021/12/21/receivername/receivername.go:8
↓ 7 callersMethodExec
(context.Context, string, ...any)
2023/transaction-in-context/internal/postgresql/postgresql.go:13
↓ 5 callersMethodClose
()
2023/concurrency-pattern-publisher-subscriber/main.go:48
↓ 4 callersMethodHandle
(ctx context.Context, r slog.Record)
2023/04/07/03-context/main.go:28
↓ 4 callersFunctionSum
(m ...V)
2022/03/17/001-generics/main.go:9
↓ 4 callersMethodValue
Value prints out the current value
2022/06/24/main.go:95
↓ 4 callersFunctiontransaction
(ctx context.Context, conn *pgx.Conn, f func(tx pgx.Tx) error)
2023/transaction-in-context/internal/postgresql/postgresql.go:19
↓ 3 callersMethodNext
()
2021/12/02/pgx/main.go:46
↓ 3 callersMethodProduce
()
2022/01/21/4-dont-return-interfaces/producer1/producer.go:4
↓ 3 callersMethodPublish
(value T)
2023/concurrency-pattern-publisher-subscriber/main.go:35
↓ 3 callersMethodSelect
(ctx context.Context, id uuid.UUID)
2023/transaction-in-context/internal/postgresql/user_role.go:63
↓ 3 callersFunctionbreakup
(worker string, ch <-chan []string)
2021/08/19/02-concurrency-patterns-fan-out/main.go:48
↓ 3 callersFunctiondescribe
(i interface{})
2021/07/interfaces-part-2/03-type-assertion-switches/main.go:31
↓ 3 callersFunctionfile_user_v1_user_proto_rawDescGZIP
()
2022/02/24/gen/go/user/v1/user.pb.go:255
↓ 2 callersFunctionCalculate
(country string)
2022/05/06/kelvin/kelvin.go:3
↓ 2 callersMethodClone
(ctx context.Context, id uuid.UUID, name string)
2023/transaction-in-context/internal/postgresql/user_cloner.go:22
↓ 2 callersMethodClose
()
2021/02/09-go-database-postgresql-part-3/postgresql_sqlc.go:26
↓ 2 callersMethodClose
()
2021/03/11-golang-microservices-caching-redis/postgresql.go:25
↓ 2 callersMethodDelete
Delete deletes a single Name record with an executor. Delete will match against the primary key column to find the record to delete.
2021/02/05-go-database-postgresql-part-2/models/names.go:791
↓ 2 callersFunctionFindName
FindName retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
2021/02/05-go-database-postgresql-part-2/models/names.go:443
↓ 2 callersFunctionFindName
FindName retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
2021/02/09-go-database-postgresql-part-3/models/names.go:443
↓ 2 callersMethodInsert
(ctx context.Context, id uuid.UUID, roleID uuid.UUID)
2023/transaction-in-context/internal/postgresql/user_role.go:52
↓ 2 callersMethodInsert
(ctx context.Context, name string)
2023/transaction-in-context/internal/postgresql/user.go:33
↓ 2 callersMethodInsertPermission
(ctx context.Context, roleID uuid.UUID, ptype internal.PermissionType)
2023/transaction-in-context/internal/postgresql/role.go:101
↓ 2 callersFunctionIter
iter.Seq[V any] func(yield func(V) bool) -- One value iter.Seq2[K, V any] func(yield func(K, V) bool) -- Two values: typically key-value or ind
2024/go-1-23-0/03-iter/main.go:13
↓ 2 callersMethodMethod
()
2021/07/interfaces-part-2/01-interface-values-with-nil/main.go:6
↓ 2 callersFunctionNew
(country string)
2022/05/06/fahrenheit/fahrenheit.go:5
↓ 2 callersFunctionNewUserRole
(conn *pgx.Conn)
2023/transaction-in-context/internal/postgresql/user_role.go:17
↓ 2 callersMethodPush
(int64)
2025/go-1-24-0/06-synctest/example.go:6
↓ 2 callersMethodSelect
(ctx context.Context, id uuid.UUID)
2023/transaction-in-context/internal/postgresql/user_role.go:42
↓ 2 callersMethodSubscribe
Subscribe returns a channel meant to used for receiving messages.
2022/06/24/main.go:51
↓ 2 callersMethodSubscribe
()
2023/concurrency-pattern-publisher-subscriber/main.go:20
↓ 2 callersMethodValue
()
2022/05/06/fahrenheit/fahrenheit.go:9
↓ 2 callersMethodValues
()
2021/12/02/pgx/main.go:73
↓ 2 callersMethoddoAfterDeleteHooks
doAfterDeleteHooks executes all "after Delete" hooks.
2021/02/05-go-database-postgresql-part-2/models/names.go:310
↓ 2 callersMethoddoAfterDeleteHooks
doAfterDeleteHooks executes all "after Delete" hooks.
2021/02/09-go-database-postgresql-part-3/models/names.go:310
↓ 2 callersMethoddoAfterSelectHooks
doAfterSelectHooks executes all "after Select" hooks.
2021/02/05-go-database-postgresql-part-2/models/names.go:280
↓ 2 callersMethoddoAfterSelectHooks
doAfterSelectHooks executes all "after Select" hooks.
2021/02/09-go-database-postgresql-part-3/models/names.go:280
↓ 2 callersMethoddoBeforeDeleteHooks
doBeforeDeleteHooks executes all "before Delete" hooks.
2021/02/05-go-database-postgresql-part-2/models/names.go:235
↓ 2 callersMethoddoBeforeDeleteHooks
doBeforeDeleteHooks executes all "before Delete" hooks.
2021/02/09-go-database-postgresql-part-3/models/names.go:235
↓ 2 callersFunctionindent
(s string)
2022/01/14/cmd/http-cli/main.go:115
↓ 2 callersFunctionmakeCacheKey
(cols boil.Columns, nzDefaults []string)
2021/02/05-go-database-postgresql-part-2/models/boil_types.go:34
↓ 2 callersFunctionmakeCacheKey
(cols boil.Columns, nzDefaults []string)
2021/02/09-go-database-postgresql-part-3/models/boil_types.go:34
↓ 2 callersFunctionread
(file string)
2021/09/02/01-sync/main.go:95
↓ 2 callersFunctionreadCSV
(file string)
2021/08/19/01-concurrency-patterns-fan-in/main.go:104
↓ 2 callersFunctionrequestWeather
(ctx context.Context, client *http.Client, appID, zip, units string)
2021/02/11-go-package-testing-mock-gock/main.go:48
↓ 2 callersFunctionrequestWeather
(ctx context.Context, client *http.Client, appID, zip, units string)
2021/03/18-go-package-testing-http-go-vcr/main.go:48
↓ 2 callersFunctionwalkRootDir
()
2025/go-1-25-0/06-os-root/main.go:44
↓ 1 callersFunctionAdd
(a, b int)
2022/01/21/1-table-driven-tests/sum.go:3
↓ 1 callersFunctionAdd
(a, b Value)
2022/01/21/2-assert-tests/sum.go:8
↓ 1 callersMethodAll
All implements all.
2022/01/14/gen/users/service.go:19
↓ 1 callersMethodAll
All returns an endpoint that makes HTTP requests to the users service all server.
2022/01/14/gen/http/users/client/client.go:82
↓ 1 callersFunctionAllUsersPath
AllUsersPath returns the URL path to the users service all HTTP endpoint.
2022/01/14/gen/http/users/client/paths.go:16
↓ 1 callersMethodAs
(target interface{})
2021/08/27/02-vet-error-is-as/main.go:15
↓ 1 callersFunctionAuthTokenFromContext
(ctx context.Context)
2023/04/07/03-context/main.go:18
↓ 1 callersMethodBuildAllRequest
BuildAllRequest instantiates a HTTP request object with method and path set to call the "users" service "all" endpoint
2022/01/14/gen/http/users/client/encode_decode.go:95
↓ 1 callersMethodBuildCreateRequest
BuildCreateRequest instantiates a HTTP request object with method and path set to call the "users" service "create" endpoint
2022/01/14/gen/http/users/client/encode_decode.go:24
↓ 1 callersMethodClose
()
2021/02/05-go-database-postgresql-part-2/postgresql_sql.go:30
↓ 1 callersMethodClose
()
2021/02/05-go-database-postgresql-part-2/postgresql_pgx.go:25
↓ 1 callersMethodClose
()
2021/02/05-go-database-postgresql-part-2/postgresql_boilerl.go:28
↓ 1 callersMethodClose
()
2021/02/05-go-database-postgresql-part-2/postgresql_sqlx.go:26
↓ 1 callersMethodClose
()
2021/02/03-go-database-postgresql-part-1/postgresql_sql.go:30
↓ 1 callersMethodClose
()
2021/02/03-go-database-postgresql-part-1/postgresql_pgx.go:25
↓ 1 callersMethodClose
()
2021/02/03-go-database-postgresql-part-1/postgresql_sqlx.go:26
↓ 1 callersMethodClose
()
2021/02/09-go-database-postgresql-part-3/postgresql_sql.go:30
↓ 1 callersMethodClose
()
2021/02/09-go-database-postgresql-part-3/postgresql_boiler.go:28
↓ 1 callersMethodClose
()
2021/02/09-go-database-postgresql-part-3/postgresql_pgx.go:25
↓ 1 callersMethodClose
()
2021/02/09-go-database-postgresql-part-3/postgresql_squirrel.go:26
↓ 1 callersMethodClose
()
2021/02/09-go-database-postgresql-part-3/postgresql_sqlx.go:26
↓ 1 callersFunctionConcat
(a, b string)
2021/12/07/benchmark.go:5
↓ 1 callersMethodCreate
(isbn string, details Details)
2020/11/24-go-tools-counterfeiter/book.go:29
↓ 1 callersMethodCreate
(isbn string)
2020/11/24-go-tools-counterfeiter/book.go:36
↓ 1 callersMethodCreate
(ctx context.Context, name string, birthYear int)
2025/three-things-i-dont-like/02-test-dependencies/with-dependencies/user.go:31
↓ 1 callersMethodCreate
(ctx context.Context, name string, birthYear int)
2025/three-things-i-dont-like/02-test-dependencies/without-dependencies/user.go:31
↓ 1 callersMethodCreate
Create implements create.
2022/01/14/gen/users/service.go:17
↓ 1 callersMethodCreate
Create returns an endpoint that makes HTTP requests to the users service create server.
2022/01/14/gen/http/users/client/client.go:58
↓ 1 callersMethodCreateArgsForCall
(i int)
2020/11/24-go-tools-counterfeiter/librarytesting/fake_book_store.gen.go:61
↓ 1 callersMethodCreateReturns
(result1 library.Book, result2 error)
2020/11/24-go-tools-counterfeiter/librarytesting/fake_book_store.gen.go:68
↓ 1 callersMethodCreateUser
(ctx context.Context, arg CreateUserParams)
2025/three-things-i-dont-like/02-test-dependencies/with-dependencies/generated/user_repository.sql.go:30
↓ 1 callersMethodCreateUser
(ctx context.Context, arg CreateUserParams)
2025/three-things-i-dont-like/02-test-dependencies/without-dependencies/generated/user_repository.sql.go:30
↓ 1 callersFunctionCreateUsersPath
CreateUsersPath returns the URL path to the users service create HTTP endpoint.
2022/01/14/gen/http/users/client/paths.go:11
↓ 1 callersFunctionDecodeAllResponse
DecodeAllResponse returns a decoder for responses returned by the users all endpoint. restoreBody controls whether the response body should be restore
2022/01/14/gen/http/users/client/encode_decode.go:111
↓ 1 callersFunctionDecodeCreateRequest
DecodeCreateRequest returns a decoder for requests sent to the users create endpoint.
2022/01/14/gen/http/users/server/encode_decode.go:34
next →1–100 of 638, ranked by callers