gorm

package
v0.0.0-...-b08fcc5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyError

func CopyError(SrvName string, err error) error

CopyError copy 实例

func CreateError

func CreateError(SrvName string, err error) error

CreateError 创建失败

func IsErrRecordNotFound

func IsErrRecordNotFound(err error) bool

IsErrRecordNotFound gorm 查询是否为空判断

func RecordNotFound

func RecordNotFound(SrvName string, err error) error

RecordNotFound gorm 查询是否为空判断

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL