Init project with vote module
This commit is contained in:
commit
98f3c2aedc
11 changed files with 671 additions and 0 deletions
9
errors/errors.go
Normal file
9
errors/errors.go
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
package errors
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
ErrNotMember = errors.New("User is not member of plan")
|
||||
ErrNotFound = errors.New("Resource is not found")
|
||||
ErrInvalidOption = errors.New("Option is not a valid one for this poll")
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue