fusenapi/goctl_template/mongo/err.tpl
2023-06-19 10:12:58 +08:00

13 lines
186 B
Smarty

package gmodel
import (
"errors"
"github.com/zeromicro/go-zero/core/stores/mon"
)
var (
ErrNotFound = mon.ErrNotFound
ErrInvalidObjectId = errors.New("invalid objectId")
)