API package refactor

This commit is contained in:
Manuel Forcén Muñoz 2025-02-12 19:29:00 +01:00
parent a7cd86962e
commit bc6b57bc54
14 changed files with 474 additions and 416 deletions

View file

@ -1,9 +0,0 @@
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")
)