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

@@ -12,7 +12,7 @@ type OSCMessageDecode struct {
config config.ProcessorConfig
}
func (o *OSCMessageDecode) Process(ctx context.Context, payload any) (any, error) {
func (omd *OSCMessageDecode) Process(ctx context.Context, payload any) (any, error) {
payloadBytes, ok := payload.([]byte)
if !ok {
@@ -34,8 +34,8 @@ func (o *OSCMessageDecode) Process(ctx context.Context, payload any) (any, error
return message, nil
}
func (o *OSCMessageDecode) Type() string {
return o.config.Type
func (omd *OSCMessageDecode) Type() string {
return omd.config.Type
}
func init() {