init project
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package userstatus
|
||||
|
||||
type UserStatus string
|
||||
|
||||
const (
|
||||
Active UserStatus = "Active"
|
||||
Inactive UserStatus = "Inactive"
|
||||
)
|
||||
|
||||
func (u UserStatus) toString() string {
|
||||
return string(u)
|
||||
}
|
||||
Reference in New Issue
Block a user