MCPcopy Create free account

hub / github.com/MarioCarrion/videos / functions

Functions638 in github.com/MarioCarrion/videos

↓ 1 callersMethodStop
()
2025/go-1-24-0/05-testing/example.go:14
↓ 1 callersMethodStopped
()
2025/go-1-24-0/05-testing/example.go:20
↓ 1 callersMethodUse
Use applies the given middleware to all the "users" service endpoints.
2022/01/14/gen/users/endpoints.go:31
↓ 1 callersFunctionValidateCreateRequestBody
ValidateCreateRequestBody runs the validations defined on CreateRequestBody
2022/01/14/gen/http/users/server/types.go:72
↓ 1 callersFunctionValidateCreateResponseBody
ValidateCreateResponseBody runs the validations defined on CreateResponseBody
2022/01/14/gen/http/users/client/types.go:74
↓ 1 callersFunctionValidateUserResponse
ValidateUserResponse runs the validations defined on UserResponse
2022/01/14/gen/http/users/client/types.go:100
↓ 1 callersFunctionValue
(str string)
2025/three-things-i-dont-like/03-switch-statement/main.go:63
↓ 1 callersFunctionWithAddr
(addr string)
2021/11/05/main.go:19
↓ 1 callersFunctionWithReadTimeout
(t time.Duration)
2021/11/05/main.go:26
↓ 1 callersFunctionWithWriteTimeout
(t time.Duration)
2021/11/05/main.go:37
↓ 1 callersFunctionbuildUpsertQueryPostgres
buildUpsertQueryPostgres builds a SQL statement string using the upsertData provided.
2021/02/05-go-database-postgresql-part-2/models/psql_upsert.go:15
↓ 1 callersFunctionbuildUpsertQueryPostgres
buildUpsertQueryPostgres builds a SQL statement string using the upsertData provided.
2021/02/09-go-database-postgresql-part-3/models/psql_upsert.go:15
↓ 1 callersMethoddoAfterInsertHooks
doAfterInsertHooks executes all "after Insert" hooks.
2021/02/05-go-database-postgresql-part-2/models/names.go:265
↓ 1 callersMethoddoAfterInsertHooks
doAfterInsertHooks executes all "after Insert" hooks.
2021/02/09-go-database-postgresql-part-3/models/names.go:265
↓ 1 callersMethoddoAfterUpdateHooks
doAfterUpdateHooks executes all "after Update" hooks.
2021/02/05-go-database-postgresql-part-2/models/names.go:295
↓ 1 callersMethoddoAfterUpdateHooks
doAfterUpdateHooks executes all "after Update" hooks.
2021/02/09-go-database-postgresql-part-3/models/names.go:295
↓ 1 callersMethoddoAfterUpsertHooks
doAfterUpsertHooks executes all "after Upsert" hooks.
2021/02/05-go-database-postgresql-part-2/models/names.go:325
↓ 1 callersMethoddoAfterUpsertHooks
doAfterUpsertHooks executes all "after Upsert" hooks.
2021/02/09-go-database-postgresql-part-3/models/names.go:325
↓ 1 callersMethoddoBeforeInsertHooks
doBeforeInsertHooks executes all "before insert" hooks.
2021/02/05-go-database-postgresql-part-2/models/names.go:205
↓ 1 callersMethoddoBeforeInsertHooks
doBeforeInsertHooks executes all "before insert" hooks.
2021/02/09-go-database-postgresql-part-3/models/names.go:205
↓ 1 callersMethoddoBeforeUpdateHooks
doBeforeUpdateHooks executes all "before Update" hooks.
2021/02/05-go-database-postgresql-part-2/models/names.go:220
↓ 1 callersMethoddoBeforeUpdateHooks
doBeforeUpdateHooks executes all "before Update" hooks.
2021/02/09-go-database-postgresql-part-3/models/names.go:220
↓ 1 callersMethoddoBeforeUpsertHooks
doBeforeUpsertHooks executes all "before Upsert" hooks.
2021/02/05-go-database-postgresql-part-2/models/names.go:250
↓ 1 callersMethoddoBeforeUpsertHooks
doBeforeUpsertHooks executes all "before Upsert" hooks.
2021/02/09-go-database-postgresql-part-3/models/names.go:250
↓ 1 callersFunctiondoHTTP
(scheme, host string, timeout int, debug bool)
2022/01/14/cmd/http-cli/http.go:12
↓ 1 callersFunctiondoWork
(id int)
2021/10/01/01-basic/main.go:72
↓ 1 callersFunctionerrGroup
(ctx context.Context)
2021/09/02/02-context/main.go:26
↓ 1 callersFunctionerrGroupWithErrChannel
()
2021/09/02/01-sync-read/main.go:20
↓ 1 callersFunctionerrorHandler
errorHandler returns a function that writes and logs the given error. The function also writes and logs the error unique ID so that it's possible to c
2022/01/14/cmd/http/http.go:106
↓ 1 callersFunctionfile_user_v1_user_proto_init
()
2022/02/17/gen/go/user/v1/user.pb.go:128
↓ 1 callersFunctionfile_user_v1_user_proto_init
()
2022/02/24/gen/go/user/v1/user.pb.go:280
↓ 1 callersFunctionfile_user_v1_user_proto_rawDescGZIP
()
2022/02/17/gen/go/user/v1/user.pb.go:108
↓ 1 callersFunctionhandleHTTPServer
handleHTTPServer starts configures and starts a HTTP server on the given URL. It shuts down the server if any error is received in the error channel.
2022/01/14/cmd/http/http.go:21
↓ 1 callersFunctionhello
()
2021/08/12/introductions-concurrency-patterns/01-goroutines/main.go:9
↓ 1 callersFunctionhttpUsageCommands
()
2022/01/14/cmd/http-cli/http.go:33
↓ 1 callersFunctionhttpUsageExamples
()
2022/01/14/cmd/http-cli/http.go:37
↓ 1 callersFunctioninsertUsers
(db *sql.DB, users []User)
2021/11/26/stdlib/main.go:51
↓ 1 callersFunctioninsertsUsers
(conn *pgx.Conn)
2021/12/02/pgx/main.go:81
↓ 1 callersFunctioninsertsUsers
(conn *pgx.Conn)
2021/12/02/stdlib/main.go:40
↓ 1 callersFunctionlistenForWork
()
2021/10/01/01-basic/main.go:21
↓ 1 callersFunctionmarshalUsersUserToUserResponse
marshalUsersUserToUserResponse builds a value of type *UserResponse from a value of type *users.User.
2022/01/14/gen/http/users/server/encode_decode.go:71
↓ 1 callersFunctionmerge2
(cs ...<-chan []string)
2021/08/19/01-concurrency-patterns-fan-in/main.go:72
↓ 1 callersFunctionnewConn
()
2021/10/22/02-preventing-sql-injection-pgx/main.go:44
↓ 1 callersFunctionnewConn
()
2021/10/22/01-sql-injection-pgx/main.go:46
↓ 1 callersFunctionnewConn
()
2021/10/22/03-dynamic-queries-pgx/main.go:52
↓ 1 callersFunctionnewConn
()
2021/12/02/pgx/main.go:108
↓ 1 callersFunctionnewConn
()
2021/12/02/stdlib/main.go:82
↓ 1 callersFunctionnewConn
(tb testing.TB)
2025/three-things-i-dont-like/02-test-dependencies/with-dependencies/user_test.go:47
↓ 1 callersFunctionnewConn
(tb testing.TB)
2025/three-things-i-dont-like/02-test-dependencies/without-dependencies/tests/user_test.go:47
↓ 1 callersFunctionnewDB
()
2021/10/22/01-sql-injection-sql/main.go:46
↓ 1 callersFunctionnewDB
()
2021/10/22/02-preventing-sql-injection-sql/main.go:48
↓ 1 callersFunctionnewDB
()
2021/10/22/03-dynamic-queries-sql/main.go:53
↓ 1 callersFunctionnewDB
()
2021/11/26/stdlib/main.go:74
↓ 1 callersFunctionnewMessage
()
2022/07/08/producer/main.go:37
↓ 1 callersFunctionnewReader
(file string)
2021/09/02/01-sync-read/main.go:106
↓ 1 callersFunctionread
(file string)
2021/09/02/02-context/main.go:68
↓ 1 callersFunctionreadCSV
Read values
2021/09/10/01-pipeline/main.go:31
↓ 1 callersFunctionreadCSV
(file string)
2021/08/19/02-concurrency-patterns-fan-out/main.go:95
↓ 1 callersFunctionreadWithErrChannel
(file string)
2021/09/02/01-sync-read/main.go:64
↓ 1 callersMethodrecordInvocation
(key string, args []interface{})
2020/11/24-go-tools-counterfeiter/librarytesting/fake_book_details_store.gen.go:104
↓ 1 callersMethodrecordInvocation
(key string, args []interface{})
2020/11/24-go-tools-counterfeiter/librarytesting/fake_book_store.gen.go:106
↓ 1 callersFunctionsanitize
Remove "invalid" records
2021/09/10/01-pipeline/main.go:59
↓ 1 callersFunctiontitleize
Modify received values
2021/09/10/01-pipeline/main.go:79
↓ 1 callersFunctionunmarshalUserResponseToUsersUser
unmarshalUserResponseToUsersUser builds a value of type *users.User from a value of type *UserResponse.
2022/01/14/gen/http/users/client/encode_decode.go:156
↓ 1 callersFunctionwaitGroups
()
2021/09/02/01-sync/main.go:29
↓ 1 callersFunctionwaitToExit
()
2021/10/01/01-basic/main.go:56
↓ 1 callersFunctionwaitToExit
()
2021/10/01/02-cancellation/main.go:27
FunctionAddNameHook
AddNameHook registers your hook function for all future operations.
2021/02/05-go-database-postgresql-part-2/models/names.go:340
FunctionAddNameHook
AddNameHook registers your hook function for all future operations.
2021/02/09-go-database-postgresql-part-3/models/names.go:340
MethodAll
All returns all Name records from the query.
2021/02/05-go-database-postgresql-part-2/models/names.go:385
MethodAll
All returns all Name records from the query.
2021/02/09-go-database-postgresql-part-3/models/names.go:385
MethodAll
All implements all.
2022/01/14/users.go:28
MethodAll
All calls the "all" endpoint of the "users" service.
2022/01/14/gen/users/client.go:41
FunctionAllUsersPath
AllUsersPath returns the URL path to the users service all HTTP endpoint.
2022/01/14/gen/http/users/server/paths.go:16
FunctionBenchmarkBytesBuffer
(b *testing.B)
2021/12/07/benchmark_test.go:23
FunctionBenchmarkConcat
(b *testing.B)
2021/12/07/benchmark_test.go:10
FunctionBenchmarkFmtSprintf
(b *testing.B)
2021/12/07/benchmark_test.go:16
FunctionBenchmarkStringsBuilder
(b *testing.B)
2021/12/07/benchmark_test.go:31
FunctionBuildCreatePayload
BuildCreatePayload builds the payload for the users create endpoint from CLI flags.
2022/01/14/gen/http/users/client/cli.go:21
FunctionCalculate
(value int64)
2025/go-1-25-0/04-synctest/example.go:25
FunctionConcatenateSlice
- ConcatenateSlice ...
2021/01/23-go-package-equality-google-go-cmp/sum.go:35
MethodCount
Count returns the count of all Name records in the query.
2021/02/05-go-database-postgresql-part-2/models/names.go:405
MethodCount
Count returns the count of all Name records in the query.
2021/02/09-go-database-postgresql-part-3/models/names.go:405
MethodCreate
(arg1 string, arg2 library.Details)
2020/11/24-go-tools-counterfeiter/librarytesting/fake_book_store.gen.go:29
MethodCreate
Create implements create.
2022/01/14/users.go:21
MethodCreate
Create calls the "create" endpoint of the "users" service.
2022/01/14/gen/users/client.go:31
MethodCreateCallCount
()
2020/11/24-go-tools-counterfeiter/librarytesting/fake_book_store.gen.go:49
MethodCreateCalls
(stub func(string, library.Details) (library.Book, error))
2020/11/24-go-tools-counterfeiter/librarytesting/fake_book_store.gen.go:55
MethodCreateReturnsOnCall
(i int, result1 library.Book, result2 error)
2020/11/24-go-tools-counterfeiter/librarytesting/fake_book_store.gen.go:78
FunctionCreateUsersPath
CreateUsersPath returns the URL path to the users service create HTTP endpoint.
2022/01/14/gen/http/users/server/paths.go:11
MethodDelete
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/09-go-database-postgresql-part-3/models/names.go:791
MethodDeleteAll
DeleteAll deletes all matching rows.
2021/02/05-go-database-postgresql-part-2/models/names.go:826
MethodDeleteAll
DeleteAll deletes all rows in the slice, using an executor.
2021/02/05-go-database-postgresql-part-2/models/names.go:847
MethodDeleteAll
DeleteAll deletes all matching rows.
2021/02/09-go-database-postgresql-part-3/models/names.go:826
MethodDeleteAll
DeleteAll deletes all rows in the slice, using an executor.
2021/02/09-go-database-postgresql-part-3/models/names.go:847
MethodDescriptor
Deprecated: Use User.ProtoReflect.Descriptor instead.
2022/02/17/gen/go/user/v1/user.pb.go:61
MethodDescriptor
Deprecated: Use Address.ProtoReflect.Descriptor instead.
2022/02/24/gen/go/user/v1/user.pb.go:196
MethodEQ
(x string)
2021/02/05-go-database-postgresql-part-2/models/names.go:59
MethodEQ
(x null.String)
2021/02/05-go-database-postgresql-part-2/models/names.go:75
MethodEQ
(x types.StringArray)
2021/02/05-go-database-postgresql-part-2/models/names.go:98
← previousnext →201–300 of 638, ranked by callers