fusenapi/goctl_template/mongo/err.tpl
2023-06-05 17:56:55 +08:00

13 lines
185 B
Smarty

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