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 OSCMessageEncode struct {
config config.ProcessorConfig
}
func (o *OSCMessageEncode) Process(ctx context.Context, payload any) (any, error) {
func (ome *OSCMessageEncode) Process(ctx context.Context, payload any) (any, error) {
payloadMessage, ok := payload.(osc.OSCMessage)
if !ok {
@@ -23,8 +23,8 @@ func (o *OSCMessageEncode) Process(ctx context.Context, payload any) (any, error
return bytes, nil
}
func (o *OSCMessageEncode) Type() string {
return o.config.Type
func (ome *OSCMessageEncode) Type() string {
return ome.config.Type
}
func init() {