Skip to content

Commit

Permalink
feat: role const
Browse files Browse the repository at this point in the history
  • Loading branch information
bookpanda committed Jan 8, 2024
1 parent 915c17b commit 8f8f8bd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/constant/user/user.constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,10 @@ package user
const FindOneUserSuccessMessage = "find one user success"
const UpdateUserSuccessMessage = "update user success"
const DeleteUserSuccessMessage = "delete user success"

type Role string

const (
USER Role = "user"
ADMIN Role = "admin"
)

0 comments on commit 8f8f8bd

Please sign in to comment.