Init project with vote module

This commit is contained in:
Manuel Forcén Muñoz 2024-11-09 19:35:44 +01:00
commit 98f3c2aedc
11 changed files with 671 additions and 0 deletions

9
errors/errors.go Normal file
View 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")
)