CreateUser, GetUserByNick, GetUserByToken exist in both db.go (model-based, used by tests) and queries.go (simple, used by handlers). Rename the model-based variants to CreateUserModel, GetUserByNickModel, and GetUserByTokenModel to resolve the compilation error.
14 KiB
14 KiB