func AddLinkHook(hookPoint boil.HookPoint, linkHook LinkHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		linkBeforeInsertHooks = append(linkBeforeInsertHooks, linkHook)
	case boil.BeforeUpdateHook:
		linkBeforeUpdateHooks = append(linkBeforeUpdateHooks, linkHook)
	case boil.BeforeDeleteHook:
		linkBeforeDeleteHooks = append(linkBeforeDeleteHooks, linkHook)
	case boil.BeforeUpsertHook:
		linkBeforeUpsertHooks = append(linkBeforeUpsertHooks, linkHook)
	case boil.AfterInsertHook:
		linkAfterInsertHooks = append(linkAfterInsertHooks, linkHook)
	case boil.AfterSelectHook:
		linkAfterSelectHooks = append(linkAfterSelectHooks, linkHook)
	case boil.AfterUpdateHook:
		linkAfterUpdateHooks = append(linkAfterUpdateHooks, linkHook)
	case boil.AfterDeleteHook:
		linkAfterDeleteHooks = append(linkAfterDeleteHooks, linkHook)
	case boil.AfterUpsertHook:
		linkAfterUpsertHooks = append(linkAfterUpsertHooks, linkHook)
	}
}
// AddLinkHook registers your hook function for all future operations.
AddLinkHook registers your hook function for all future operations.
// AddLinkHook registers your hook function for all future operations .
func AddLinkHook(hookPoint boil.HookPoint, linkHook LinkHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		linkBeforeInsertHooks = append(linkBeforeInsertHooks, linkHook)
	case boil.BeforeUpdateHook:
		linkBeforeUpdateHooks = append(linkBeforeUpdateHooks, linkHook)
	case boil.BeforeDeleteHook:
		linkBeforeDeleteHooks = append(linkBeforeDeleteHooks, linkHook)
	case boil.BeforeUpsertHook:
		linkBeforeUpsertHooks = append(linkBeforeUpsertHooks, linkHook)
	case boil.AfterInsertHook:
		linkAfterInsertHooks = append(linkAfterInsertHooks, linkHook)
	case boil.AfterSelectHook:
		linkAfterSelectHooks = append(linkAfterSelectHooks, linkHook)
	case boil.AfterUpdateHook:
		linkAfterUpdateHooks = append(linkAfterUpdateHooks, linkHook)
	case boil.AfterDeleteHook:
		linkAfterDeleteHooks = append(linkAfterDeleteHooks, linkHook)
	case boil.AfterUpsertHook:
		linkAfterUpsertHooks = append(linkAfterUpsertHooks, linkHook)
	}
}
func AddLinkHook ( hookPoint boil . HookPoint , linkHook LinkHook ) { switch hookPoint { case boil . BeforeInsertHook : linkBeforeInsertHooks = append ( linkBeforeInsertHooks , linkHook ) case boil . BeforeUpdateHook : linkBeforeUpdateHooks = append ( linkBeforeUpdateHooks , linkHook ) case boil . BeforeDeleteHook : linkBeforeDeleteHooks = append ( linkBeforeDeleteHooks , linkHook ) case boil . BeforeUpsertHook : linkBeforeUpsertHooks = append ( linkBeforeUpsertHooks , linkHook ) case boil . AfterInsertHook : linkAfterInsertHooks = append ( linkAfterInsertHooks , linkHook ) case boil . AfterSelectHook : linkAfterSelectHooks = append ( linkAfterSelectHooks , linkHook ) case boil . AfterUpdateHook : linkAfterUpdateHooks = append ( linkAfterUpdateHooks , linkHook ) case boil . AfterDeleteHook : linkAfterDeleteHooks = append ( linkAfterDeleteHooks , linkHook ) case boil . AfterUpsertHook : linkAfterUpsertHooks = append ( linkAfterUpsertHooks , linkHook ) } }
AddLinkHook registers your hook function for all future operations.
AddLinkHook registers your hook function for all future operations .