package db import "gorm.io/gorm" func isNotFound(err error) bool { return err == gorm.ErrRecordNotFound }