Versions in this module Expand all Collapse all v1 v1.0.28 Oct 13, 2026 Changes in this version + func CountProjectUsersByRole(ctx context.Context, projectID string) (map[string]int, error) + func CreateUser(ctx context.Context, user *models.User) (*models.User, error) + func DeleteUser(ctx context.Context, projectID, userID string) error + func GetUser(ctx context.Context, projectID, userID string) (*models.User, error) + func GetUserByUsername(ctx context.Context, projectID, username string) (*models.User, error) + func ListUsersByEmail(ctx context.Context, projectID, email string) ([]*models.User, error) + func ListUsersByGoogleSub(ctx context.Context, projectID, googleSub string) ([]*models.User, error) + func ListUsersByPhone(ctx context.Context, projectID, phone string) ([]*models.User, error) + func SearchProjectUsers(ctx context.Context, projectID, q string, limit, offset int) ([]*models.User, int, error) + func UpdateUser(ctx context.Context, user *models.User) error