Files
online-backend/internal/identity/userbranch/storage.go
GuwandykA 8795ae2195 Put the user's role and branch on GET /profile, upsert role_user and branch_user on POST, and drop their list endpoints.
Also accept flexible card-order form values, move mock seed under db/mock, and regenerate Swagger.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-22 17:56:07 +05:00

9 lines
190 B
Go

package userbranch
import "context"
type Repository interface {
Create(ctx context.Context, dto CreateUserBranchDTO) (UserBranchDTO, error)
Delete(ctx context.Context, id int64) error
}