skeleton added

This commit is contained in:
2026-02-08 19:56:16 +03:00
committed by KentoNion
commit f0b04b229a
19 changed files with 2021 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package models
import (
"errors"
)
var (
ErrNotAdmin = errors.New("user is not admin")
)
type Admin struct {
UserID int64 `db:"user_id"`
Role string `db:"role"`
}