Documentation
¶
Overview ¶
* @Name: * @Descripttion: * @Warning: * @version: * @Author: moo * @Date: 2020-10-28 17:22:07 * @LastEditors: linzhengmao * @LastEditTime: 2025-01-20 17:24:58
* @Description: * @Author: linzhengmao * @Email: linzhengmao@126.com * @Date: 2025-02-18 19:11:02 * @LastEditTime: 2025-02-18 19:11:03 * @LastEditors: linzhengmao
Index ¶
Constants ¶
View Source
const (
STLSTATE_FOREIGNKEY = 23503
)
Variables ¶
View Source
var DB *gorm.DB
View Source
var ErrMustOne = errors.New("record must one")
View Source
var ErrNotFound = gorm.ErrRecordNotFound
var Err404 = errors.New("record not found")
Functions ¶
func GetSqlstate ¶
func IsNotFound ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.