func AddHonorHook(hookPoint boil.HookPoint, honorHook HonorHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		honorBeforeInsertHooks = append(honorBeforeInsertHooks, honorHook)
	case boil.BeforeUpdateHook:
		honorBeforeUpdateHooks = append(honorBeforeUpdateHooks, honorHook)
	case boil.BeforeDeleteHook:
		honorBeforeDeleteHooks = append(honorBeforeDeleteHooks, honorHook)
	case boil.BeforeUpsertHook:
		honorBeforeUpsertHooks = append(honorBeforeUpsertHooks, honorHook)
	case boil.AfterInsertHook:
		honorAfterInsertHooks = append(honorAfterInsertHooks, honorHook)
	case boil.AfterSelectHook:
		honorAfterSelectHooks = append(honorAfterSelectHooks, honorHook)
	case boil.AfterUpdateHook:
		honorAfterUpdateHooks = append(honorAfterUpdateHooks, honorHook)
	case boil.AfterDeleteHook:
		honorAfterDeleteHooks = append(honorAfterDeleteHooks, honorHook)
	case boil.AfterUpsertHook:
		honorAfterUpsertHooks = append(honorAfterUpsertHooks, honorHook)
	}
}
// AddHonorHook registers your hook function for all future operations.
AddHonorHook registers your hook function for all future operations.
// AddHonorHook registers your hook function for all future operations .
func AddHonorHook(hookPoint boil.HookPoint, honorHook HonorHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		honorBeforeInsertHooks = append(honorBeforeInsertHooks, honorHook)
	case boil.BeforeUpdateHook:
		honorBeforeUpdateHooks = append(honorBeforeUpdateHooks, honorHook)
	case boil.BeforeDeleteHook:
		honorBeforeDeleteHooks = append(honorBeforeDeleteHooks, honorHook)
	case boil.BeforeUpsertHook:
		honorBeforeUpsertHooks = append(honorBeforeUpsertHooks, honorHook)
	case boil.AfterInsertHook:
		honorAfterInsertHooks = append(honorAfterInsertHooks, honorHook)
	case boil.AfterSelectHook:
		honorAfterSelectHooks = append(honorAfterSelectHooks, honorHook)
	case boil.AfterUpdateHook:
		honorAfterUpdateHooks = append(honorAfterUpdateHooks, honorHook)
	case boil.AfterDeleteHook:
		honorAfterDeleteHooks = append(honorAfterDeleteHooks, honorHook)
	case boil.AfterUpsertHook:
		honorAfterUpsertHooks = append(honorAfterUpsertHooks, honorHook)
	}
}
func AddHonorHook ( hookPoint boil . HookPoint , honorHook HonorHook ) { switch hookPoint { case boil . BeforeInsertHook : honorBeforeInsertHooks = append ( honorBeforeInsertHooks , honorHook ) case boil . BeforeUpdateHook : honorBeforeUpdateHooks = append ( honorBeforeUpdateHooks , honorHook ) case boil . BeforeDeleteHook : honorBeforeDeleteHooks = append ( honorBeforeDeleteHooks , honorHook ) case boil . BeforeUpsertHook : honorBeforeUpsertHooks = append ( honorBeforeUpsertHooks , honorHook ) case boil . AfterInsertHook : honorAfterInsertHooks = append ( honorAfterInsertHooks , honorHook ) case boil . AfterSelectHook : honorAfterSelectHooks = append ( honorAfterSelectHooks , honorHook ) case boil . AfterUpdateHook : honorAfterUpdateHooks = append ( honorAfterUpdateHooks , honorHook ) case boil . AfterDeleteHook : honorAfterDeleteHooks = append ( honorAfterDeleteHooks , honorHook ) case boil . AfterUpsertHook : honorAfterUpsertHooks = append ( honorAfterUpsertHooks , honorHook ) } }
AddHonorHook registers your hook function for all future operations.
AddHonorHook registers your hook function for all future operations .