align variable names with struct name

This commit is contained in:
Joel Wetzell
2025-12-24 16:06:01 -06:00
parent ecb415f321
commit 1172159455
8 changed files with 32 additions and 32 deletions

View File

@@ -20,12 +20,12 @@ type MIDIMessageCreate struct {
ProcessFunc func(ctx context.Context, payload any) (any, error)
}
func (mmd *MIDIMessageCreate) Process(ctx context.Context, payload any) (any, error) {
return mmd.ProcessFunc(ctx, payload)
func (mmc *MIDIMessageCreate) Process(ctx context.Context, payload any) (any, error) {
return mmc.ProcessFunc(ctx, payload)
}
func (mmd *MIDIMessageCreate) Type() string {
return mmd.config.Type
func (mmc *MIDIMessageCreate) Type() string {
return mmc.config.Type
}
func newMidiNoteOnCreate(config config.ProcessorConfig) (Processor, error) {