From 051ec9d5107aac030cd400b39e3b4ffd410f649f Mon Sep 17 00:00:00 2001 From: Brandur Date: Wed, 30 Jul 2025 20:16:48 -1000 Subject: [PATCH] Fix some minor hooks-related typos in docblocks Just a small one that I noticed while working on something else: we've had a few long standing typos in a couple of the hooks-related docblocks related to the proper casing of the types. Here, correct them. --- hook_defaults_funcs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hook_defaults_funcs.go b/hook_defaults_funcs.go index 32ab300c..8f06fc43 100644 --- a/hook_defaults_funcs.go +++ b/hook_defaults_funcs.go @@ -24,7 +24,7 @@ func (f HookInsertBeginFunc) InsertBegin(ctx context.Context, params *rivertype. func (f HookInsertBeginFunc) IsHook() bool { return true } // HookWorkBeginFunc is a convenience helper for implementing -// rivertype.HookworkBegin using a simple function instead of a struct. +// rivertype.HookWorkBegin using a simple function instead of a struct. type HookWorkBeginFunc func(ctx context.Context, job *rivertype.JobRow) error func (f HookWorkBeginFunc) WorkBegin(ctx context.Context, job *rivertype.JobRow) error { @@ -34,7 +34,7 @@ func (f HookWorkBeginFunc) WorkBegin(ctx context.Context, job *rivertype.JobRow) func (f HookWorkBeginFunc) IsHook() bool { return true } // HookWorkEndFunc is a convenience helper for implementing -// rivertype.HookworkEnd using a simple function instead of a struct. +// rivertype.HookWorkEnd using a simple function instead of a struct. type HookWorkEndFunc func(ctx context.Context, job *rivertype.JobRow, err error) error func (f HookWorkEndFunc) WorkEnd(ctx context.Context, job *rivertype.JobRow, err error) error {