MCPcopy Create free account

hub / github.com/ThreeDotsLabs/go-web-app-antipatterns / functions

Functions549 in github.com/ThreeDotsLabs/go-web-app-antipatterns

MethodUpdateAll
UpdateAll updates all rows with the specified column values.
01-coupling/03-loosely-coupled-generated/models/users.go:837
MethodUpdateAll
UpdateAll updates all rows with the specified column values, using an executor.
01-coupling/03-loosely-coupled-generated/models/users.go:854
MethodUpdateByID
(ctx context.Context, userID int, updateFn func(user *User) (bool, error))
05-distributed-transactions/01-distributed-monolith/users-svc/repository.go:31
MethodUpdateByID
(ctx context.Context, userID int, updateFn func(user *User) (bool, error))
05-distributed-transactions/01-distributed-monolith/users-svc/app.go:19
MethodUpdateByID
(ctx context.Context, userID int, updateFn func(user *User) (bool, []any, error))
05-distributed-transactions/03-outbox/users-svc/repository.go:31
MethodUpdateByID
(ctx context.Context, userID int, updateFn func(user *User) (bool, []any, error))
05-distributed-transactions/03-outbox/users-svc/app.go:17
MethodUpdateByID
(ctx context.Context, userID int, updateFn func(user *User) (bool, error))
05-distributed-transactions/02-eventual-consistency/users-svc/repository.go:31
MethodUpdateByID
(ctx context.Context, userID int, updateFn func(user *User) (bool, error))
05-distributed-transactions/02-eventual-consistency/users-svc/app.go:19
MethodUpdateByID
(ctx context.Context, userID int, updateFn func(user *User) (bool, error))
04-transactions/05-tx-provider/repository.go:45
MethodUpdateByID
(ctx context.Context, userID int, updateFn func(user *User) (bool, error))
04-transactions/05-tx-provider/app.go:27
MethodUpdateByID
(ctx context.Context, userID int, updateFn func(user *User) (bool, error))
04-transactions/04-update-func-closure/repository.go:36
MethodUpsert
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateCo
01-coupling/04-loosely-coupled-app-layer/models/emails.go:872
MethodUpsert
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateCo
01-coupling/04-loosely-coupled-app-layer/models/users.go:907
MethodUpsert
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateCo
01-coupling/03-loosely-coupled-generated/models/emails.go:872
MethodUpsert
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateCo
01-coupling/03-loosely-coupled-generated/models/users.go:907
MethodUsePointsForDiscount
(ctx context.Context, userID int, points int)
04-transactions/03-tx-in-repo/repository.go:36
MethodUser
User pointed to by the foreign key.
01-coupling/04-loosely-coupled-app-layer/models/emails.go:431
MethodUser
User pointed to by the foreign key.
01-coupling/03-loosely-coupled-generated/models/emails.go:431
FunctionUserExists
UserExists checks if the User row exists.
01-coupling/04-loosely-coupled-app-layer/models/users.go:1205
FunctionUserExists
UserExists checks if the User row exists.
01-coupling/03-loosely-coupled-generated/models/users.go:1205
Functionmain
()
05-distributed-transactions/01-distributed-monolith/users-svc/main.go:10
Functionmain
()
05-distributed-transactions/01-distributed-monolith/orders-svc/main.go:10
Functionmain
()
05-distributed-transactions/03-outbox/users-svc/main.go:11
Functionmain
()
05-distributed-transactions/03-outbox/orders-svc/main.go:10
Functionmain
()
05-distributed-transactions/02-eventual-consistency/users-svc/main.go:10
Functionmain
()
05-distributed-transactions/02-eventual-consistency/orders-svc/main.go:10
Functionmain
()
05-distributed-transactions/docker/service/wait-for-postgres.go:9
Functionmain
()
02-enums/02-typed-iota/main.go:20
Functionmain
()
02-enums/04-structs/main.go:20
Functionmain
()
02-enums/03-slugs/main.go:20
Functionmain
()
02-enums/01-iota/main.go:14
Functionmain
()
04-transactions/05-tx-provider/main.go:10
Functionmain
()
04-transactions/docker/service/wait-for-postgres.go:9
Functionmain
()
04-transactions/02-tx-in-logic/main.go:10
Functionmain
()
04-transactions/01-no-tx/main.go:10
Functionmain
()
04-transactions/03-tx-in-repo/main.go:10
Functionmain
()
04-transactions/04-update-func-closure/main.go:10
Functionmain
()
03-cohesion/01-low-cohesion/main.go:11
Functionmain
()
03-cohesion/03-generics/main.go:11
Functionmain
()
03-cohesion/02-decorators/main.go:11
Functionmain
()
01-coupling/01-tightly-coupled/cmd/main.go:14
Functionmain
()
01-coupling/04-loosely-coupled-app-layer/cmd/main.go:14
Functionmain
()
01-coupling/docker/service/wait-for-mysql.go:9
Functionmain
()
01-coupling/docker/sqlboiler/wait-for-mysql.go:9
Functionmain
()
01-coupling/02-loosely-coupled/cmd/main.go:14
Functionmain
()
01-coupling/03-loosely-coupled-generated/cmd/main.go:14
FunctiontestCreateUser
(t *testing.T, client HTTPClient)
01-coupling/tests/end_to_end_test.go:102
FunctiontestUpdateUser
(t *testing.T, client HTTPClient)
01-coupling/tests/end_to_end_test.go:180
FunctiontestUserLifecycle
(t *testing.T, client HTTPClient)
01-coupling/tests/end_to_end_test.go:69
← previous501–549 of 549, ranked by callers