说明:

1.基于项目: https://github.com/tal-tech/go-zero

2.手动增加 var.go 文件

package model

import "github.com/tal-tech/go-zero/core/stores/sqlx"

var ErrNotFound = sqlx.ErrNotFound