go-zero/tools/goctl/model/sql/template/errors.go

10 lines
177 B
Go
Raw Normal View History

package template
2020-07-29 17:11:41 +08:00
// Error defines an error template
var Error = `package {{.pkg}}
2020-07-29 17:11:41 +08:00
import "github.com/zeromicro/go-zero/core/stores/sqlx"
2020-07-29 17:11:41 +08:00
2020-08-27 22:54:18 +08:00
var ErrNotFound = sqlx.ErrNotFound
2020-07-29 17:11:41 +08:00
`