fusenapi/goctl_template/mongo/err.tpl

13 lines
186 B
Smarty
Raw Normal View History

2023-06-19 02:12:58 +00:00
package gmodel
2023-06-05 09:56:55 +00:00
import (
"errors"
"github.com/zeromicro/go-zero/core/stores/mon"
)
var (
ErrNotFound = mon.ErrNotFound
ErrInvalidObjectId = errors.New("invalid objectId")
)