Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MarioCarrion/videos
/ functions
Functions
638 in github.com/MarioCarrion/videos
⨍
Functions
638
◇
Types & classes
185
↓ 41 callers
Method
String
()
2022/01/21/4-dont-return-interfaces/main.go:10
↓ 33 callers
Method
Parse
()
2021/12/21/receivername/receivername.go:5
↓ 32 callers
Method
Add
- Add updates the local value by adding the received one.
2022/06/24/main.go:87
↓ 23 callers
Method
Error
()
2021/08/27/02-vet-error-is-as/main.go:7
↓ 20 callers
Method
ExecContext
(context.Context, string, ...interface{})
2021/02/09-go-database-postgresql-part-3/db.go:11
↓ 19 callers
Method
Done
()
2025/go-1-24-0/05-testing/example.go:24
↓ 17 callers
Method
Query
(context.Context, string, ...any)
2023/transaction-in-context/internal/postgresql/postgresql.go:14
↓ 16 callers
Method
Err
()
2021/12/02/pgx/main.go:77
↓ 16 callers
Method
QueryRowContext
(context.Context, string, ...interface{})
2021/02/09-go-database-postgresql-part-3/db.go:14
↓ 15 callers
Method
Is
(err error)
2021/08/27/02-vet-error-is-as/main.go:11
↓ 14 callers
Method
Exit
()
2021/10/01/02-cancellation/main.go:94
↓ 13 callers
Method
Close
Close indicates all subscribers no more messages are going to be sent.
2022/06/24/main.go:73
↓ 13 callers
Method
Get
(ctx context.Context, key string)
2022/08/26/05-final/config.go:32
↓ 12 callers
Method
Close
()
2021/01/26-go-caching-memcached/postgresql.go:25
↓ 12 callers
Method
QueryRow
(context.Context, string, ...any)
2023/transaction-in-context/internal/postgresql/postgresql.go:15
↓ 10 callers
Method
Read
()
2021/09/02/01-sync-read/main.go:117
↓ 8 callers
Method
Equal
Equal ...
2021/01/23-go-package-equality-google-go-cmp/sum.go:46
↓ 8 callers
Method
Print
()
2021/12/21/receivername/receivername.go:8
↓ 7 callers
Method
Exec
(context.Context, string, ...any)
2023/transaction-in-context/internal/postgresql/postgresql.go:13
↓ 5 callers
Method
Close
()
2023/concurrency-pattern-publisher-subscriber/main.go:48
↓ 4 callers
Method
Handle
(ctx context.Context, r slog.Record)
2023/04/07/03-context/main.go:28
↓ 4 callers
Function
Sum
(m ...V)
2022/03/17/001-generics/main.go:9
↓ 4 callers
Method
Value
Value prints out the current value
2022/06/24/main.go:95
↓ 4 callers
Function
transaction
(ctx context.Context, conn *pgx.Conn, f func(tx pgx.Tx) error)
2023/transaction-in-context/internal/postgresql/postgresql.go:19
↓ 3 callers
Method
Next
()
2021/12/02/pgx/main.go:46
↓ 3 callers
Method
Produce
()
2022/01/21/4-dont-return-interfaces/producer1/producer.go:4
↓ 3 callers
Method
Publish
(value T)
2023/concurrency-pattern-publisher-subscriber/main.go:35
↓ 3 callers
Method
Select
(ctx context.Context, id uuid.UUID)
2023/transaction-in-context/internal/postgresql/user_role.go:63
↓ 3 callers
Function
breakup
(worker string, ch <-chan []string)
2021/08/19/02-concurrency-patterns-fan-out/main.go:48
↓ 3 callers
Function
describe
(i interface{})
2021/07/interfaces-part-2/03-type-assertion-switches/main.go:31
↓ 3 callers
Function
file_user_v1_user_proto_rawDescGZIP
()
2022/02/24/gen/go/user/v1/user.pb.go:255
↓ 2 callers
Function
Calculate
(country string)
2022/05/06/kelvin/kelvin.go:3
↓ 2 callers
Method
Clone
(ctx context.Context, id uuid.UUID, name string)
2023/transaction-in-context/internal/postgresql/user_cloner.go:22
↓ 2 callers
Method
Close
()
2021/02/09-go-database-postgresql-part-3/postgresql_sqlc.go:26
↓ 2 callers
Method
Close
()
2021/03/11-golang-microservices-caching-redis/postgresql.go:25
↓ 2 callers
Method
Delete
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 callers
Function
FindName
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 callers
Function
FindName
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 callers
Method
Insert
(ctx context.Context, id uuid.UUID, roleID uuid.UUID)
2023/transaction-in-context/internal/postgresql/user_role.go:52
↓ 2 callers
Method
Insert
(ctx context.Context, name string)
2023/transaction-in-context/internal/postgresql/user.go:33
↓ 2 callers
Method
InsertPermission
(ctx context.Context, roleID uuid.UUID, ptype internal.PermissionType)
2023/transaction-in-context/internal/postgresql/role.go:101
↓ 2 callers
Function
Iter
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 callers
Method
Method
()
2021/07/interfaces-part-2/01-interface-values-with-nil/main.go:6
↓ 2 callers
Function
New
(country string)
2022/05/06/fahrenheit/fahrenheit.go:5
↓ 2 callers
Function
NewUserRole
(conn *pgx.Conn)
2023/transaction-in-context/internal/postgresql/user_role.go:17
↓ 2 callers
Method
Push
(int64)
2025/go-1-24-0/06-synctest/example.go:6
↓ 2 callers
Method
Select
(ctx context.Context, id uuid.UUID)
2023/transaction-in-context/internal/postgresql/user_role.go:42
↓ 2 callers
Method
Subscribe
Subscribe returns a channel meant to used for receiving messages.
2022/06/24/main.go:51
↓ 2 callers
Method
Subscribe
()
2023/concurrency-pattern-publisher-subscriber/main.go:20
↓ 2 callers
Method
Value
()
2022/05/06/fahrenheit/fahrenheit.go:9
↓ 2 callers
Method
Values
()
2021/12/02/pgx/main.go:73
↓ 2 callers
Method
doAfterDeleteHooks
doAfterDeleteHooks executes all "after Delete" hooks.
2021/02/05-go-database-postgresql-part-2/models/names.go:310
↓ 2 callers
Method
doAfterDeleteHooks
doAfterDeleteHooks executes all "after Delete" hooks.
2021/02/09-go-database-postgresql-part-3/models/names.go:310
↓ 2 callers
Method
doAfterSelectHooks
doAfterSelectHooks executes all "after Select" hooks.
2021/02/05-go-database-postgresql-part-2/models/names.go:280
↓ 2 callers
Method
doAfterSelectHooks
doAfterSelectHooks executes all "after Select" hooks.
2021/02/09-go-database-postgresql-part-3/models/names.go:280
↓ 2 callers
Method
doBeforeDeleteHooks
doBeforeDeleteHooks executes all "before Delete" hooks.
2021/02/05-go-database-postgresql-part-2/models/names.go:235
↓ 2 callers
Method
doBeforeDeleteHooks
doBeforeDeleteHooks executes all "before Delete" hooks.
2021/02/09-go-database-postgresql-part-3/models/names.go:235
↓ 2 callers
Function
indent
(s string)
2022/01/14/cmd/http-cli/main.go:115
↓ 2 callers
Function
makeCacheKey
(cols boil.Columns, nzDefaults []string)
2021/02/05-go-database-postgresql-part-2/models/boil_types.go:34
↓ 2 callers
Function
makeCacheKey
(cols boil.Columns, nzDefaults []string)
2021/02/09-go-database-postgresql-part-3/models/boil_types.go:34
↓ 2 callers
Function
read
(file string)
2021/09/02/01-sync/main.go:95
↓ 2 callers
Function
readCSV
(file string)
2021/08/19/01-concurrency-patterns-fan-in/main.go:104
↓ 2 callers
Function
requestWeather
(ctx context.Context, client *http.Client, appID, zip, units string)
2021/02/11-go-package-testing-mock-gock/main.go:48
↓ 2 callers
Function
requestWeather
(ctx context.Context, client *http.Client, appID, zip, units string)
2021/03/18-go-package-testing-http-go-vcr/main.go:48
↓ 2 callers
Function
walkRootDir
()
2025/go-1-25-0/06-os-root/main.go:44
↓ 1 callers
Function
Add
(a, b int)
2022/01/21/1-table-driven-tests/sum.go:3
↓ 1 callers
Function
Add
(a, b Value)
2022/01/21/2-assert-tests/sum.go:8
↓ 1 callers
Method
All
All implements all.
2022/01/14/gen/users/service.go:19
↓ 1 callers
Method
All
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 callers
Function
AllUsersPath
AllUsersPath returns the URL path to the users service all HTTP endpoint.
2022/01/14/gen/http/users/client/paths.go:16
↓ 1 callers
Method
As
(target interface{})
2021/08/27/02-vet-error-is-as/main.go:15
↓ 1 callers
Function
AuthTokenFromContext
(ctx context.Context)
2023/04/07/03-context/main.go:18
↓ 1 callers
Method
BuildAllRequest
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 callers
Method
BuildCreateRequest
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 callers
Method
Close
()
2021/02/05-go-database-postgresql-part-2/postgresql_sql.go:30
↓ 1 callers
Method
Close
()
2021/02/05-go-database-postgresql-part-2/postgresql_pgx.go:25
↓ 1 callers
Method
Close
()
2021/02/05-go-database-postgresql-part-2/postgresql_boilerl.go:28
↓ 1 callers
Method
Close
()
2021/02/05-go-database-postgresql-part-2/postgresql_sqlx.go:26
↓ 1 callers
Method
Close
()
2021/02/03-go-database-postgresql-part-1/postgresql_sql.go:30
↓ 1 callers
Method
Close
()
2021/02/03-go-database-postgresql-part-1/postgresql_pgx.go:25
↓ 1 callers
Method
Close
()
2021/02/03-go-database-postgresql-part-1/postgresql_sqlx.go:26
↓ 1 callers
Method
Close
()
2021/02/09-go-database-postgresql-part-3/postgresql_sql.go:30
↓ 1 callers
Method
Close
()
2021/02/09-go-database-postgresql-part-3/postgresql_boiler.go:28
↓ 1 callers
Method
Close
()
2021/02/09-go-database-postgresql-part-3/postgresql_pgx.go:25
↓ 1 callers
Method
Close
()
2021/02/09-go-database-postgresql-part-3/postgresql_squirrel.go:26
↓ 1 callers
Method
Close
()
2021/02/09-go-database-postgresql-part-3/postgresql_sqlx.go:26
↓ 1 callers
Function
Concat
(a, b string)
2021/12/07/benchmark.go:5
↓ 1 callers
Method
Create
(isbn string, details Details)
2020/11/24-go-tools-counterfeiter/book.go:29
↓ 1 callers
Method
Create
(isbn string)
2020/11/24-go-tools-counterfeiter/book.go:36
↓ 1 callers
Method
Create
(ctx context.Context, name string, birthYear int)
2025/three-things-i-dont-like/02-test-dependencies/with-dependencies/user.go:31
↓ 1 callers
Method
Create
(ctx context.Context, name string, birthYear int)
2025/three-things-i-dont-like/02-test-dependencies/without-dependencies/user.go:31
↓ 1 callers
Method
Create
Create implements create.
2022/01/14/gen/users/service.go:17
↓ 1 callers
Method
Create
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 callers
Method
CreateArgsForCall
(i int)
2020/11/24-go-tools-counterfeiter/librarytesting/fake_book_store.gen.go:61
↓ 1 callers
Method
CreateReturns
(result1 library.Book, result2 error)
2020/11/24-go-tools-counterfeiter/librarytesting/fake_book_store.gen.go:68
↓ 1 callers
Method
CreateUser
(ctx context.Context, arg CreateUserParams)
2025/three-things-i-dont-like/02-test-dependencies/with-dependencies/generated/user_repository.sql.go:30
↓ 1 callers
Method
CreateUser
(ctx context.Context, arg CreateUserParams)
2025/three-things-i-dont-like/02-test-dependencies/without-dependencies/generated/user_repository.sql.go:30
↓ 1 callers
Function
CreateUsersPath
CreateUsersPath returns the URL path to the users service create HTTP endpoint.
2022/01/14/gen/http/users/client/paths.go:11
↓ 1 callers
Function
DecodeAllResponse
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 callers
Function
DecodeCreateRequest
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