Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ThreeDotsLabs/go-web-app-antipatterns
/ functions
Functions
549 in github.com/ThreeDotsLabs/go-web-app-antipatterns
⨍
Functions
549
◇
Types & classes
216
Method
UpdateAll
UpdateAll updates all rows with the specified column values.
01-coupling/03-loosely-coupled-generated/models/users.go:837
Method
UpdateAll
UpdateAll updates all rows with the specified column values, using an executor.
01-coupling/03-loosely-coupled-generated/models/users.go:854
Method
UpdateByID
(ctx context.Context, userID int, updateFn func(user *User) (bool, error))
05-distributed-transactions/01-distributed-monolith/users-svc/repository.go:31
Method
UpdateByID
(ctx context.Context, userID int, updateFn func(user *User) (bool, error))
05-distributed-transactions/01-distributed-monolith/users-svc/app.go:19
Method
UpdateByID
(ctx context.Context, userID int, updateFn func(user *User) (bool, []any, error))
05-distributed-transactions/03-outbox/users-svc/repository.go:31
Method
UpdateByID
(ctx context.Context, userID int, updateFn func(user *User) (bool, []any, error))
05-distributed-transactions/03-outbox/users-svc/app.go:17
Method
UpdateByID
(ctx context.Context, userID int, updateFn func(user *User) (bool, error))
05-distributed-transactions/02-eventual-consistency/users-svc/repository.go:31
Method
UpdateByID
(ctx context.Context, userID int, updateFn func(user *User) (bool, error))
05-distributed-transactions/02-eventual-consistency/users-svc/app.go:19
Method
UpdateByID
(ctx context.Context, userID int, updateFn func(user *User) (bool, error))
04-transactions/05-tx-provider/repository.go:45
Method
UpdateByID
(ctx context.Context, userID int, updateFn func(user *User) (bool, error))
04-transactions/05-tx-provider/app.go:27
Method
UpdateByID
(ctx context.Context, userID int, updateFn func(user *User) (bool, error))
04-transactions/04-update-func-closure/repository.go:36
Method
Upsert
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
Method
Upsert
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
Method
Upsert
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
Method
Upsert
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
Method
UsePointsForDiscount
(ctx context.Context, userID int, points int)
04-transactions/03-tx-in-repo/repository.go:36
Method
User
User pointed to by the foreign key.
01-coupling/04-loosely-coupled-app-layer/models/emails.go:431
Method
User
User pointed to by the foreign key.
01-coupling/03-loosely-coupled-generated/models/emails.go:431
Function
UserExists
UserExists checks if the User row exists.
01-coupling/04-loosely-coupled-app-layer/models/users.go:1205
Function
UserExists
UserExists checks if the User row exists.
01-coupling/03-loosely-coupled-generated/models/users.go:1205
Function
main
()
05-distributed-transactions/01-distributed-monolith/users-svc/main.go:10
Function
main
()
05-distributed-transactions/01-distributed-monolith/orders-svc/main.go:10
Function
main
()
05-distributed-transactions/03-outbox/users-svc/main.go:11
Function
main
()
05-distributed-transactions/03-outbox/orders-svc/main.go:10
Function
main
()
05-distributed-transactions/02-eventual-consistency/users-svc/main.go:10
Function
main
()
05-distributed-transactions/02-eventual-consistency/orders-svc/main.go:10
Function
main
()
05-distributed-transactions/docker/service/wait-for-postgres.go:9
Function
main
()
02-enums/02-typed-iota/main.go:20
Function
main
()
02-enums/04-structs/main.go:20
Function
main
()
02-enums/03-slugs/main.go:20
Function
main
()
02-enums/01-iota/main.go:14
Function
main
()
04-transactions/05-tx-provider/main.go:10
Function
main
()
04-transactions/docker/service/wait-for-postgres.go:9
Function
main
()
04-transactions/02-tx-in-logic/main.go:10
Function
main
()
04-transactions/01-no-tx/main.go:10
Function
main
()
04-transactions/03-tx-in-repo/main.go:10
Function
main
()
04-transactions/04-update-func-closure/main.go:10
Function
main
()
03-cohesion/01-low-cohesion/main.go:11
Function
main
()
03-cohesion/03-generics/main.go:11
Function
main
()
03-cohesion/02-decorators/main.go:11
Function
main
()
01-coupling/01-tightly-coupled/cmd/main.go:14
Function
main
()
01-coupling/04-loosely-coupled-app-layer/cmd/main.go:14
Function
main
()
01-coupling/docker/service/wait-for-mysql.go:9
Function
main
()
01-coupling/docker/sqlboiler/wait-for-mysql.go:9
Function
main
()
01-coupling/02-loosely-coupled/cmd/main.go:14
Function
main
()
01-coupling/03-loosely-coupled-generated/cmd/main.go:14
Function
testCreateUser
(t *testing.T, client HTTPClient)
01-coupling/tests/end_to_end_test.go:102
Function
testUpdateUser
(t *testing.T, client HTTPClient)
01-coupling/tests/end_to_end_test.go:180
Function
testUserLifecycle
(t *testing.T, client HTTPClient)
01-coupling/tests/end_to_end_test.go:69
← previous
501–549 of 549, ranked by callers