gorm/callbacks/query.go

14 lines
160 B
Go

package callbacks
import "github.com/jinzhu/gorm"
func Query(db *gorm.DB) {
}
func Preload(db *gorm.DB) {
}
func AfterQuery(db *gorm.DB) {
// after find
}