Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spelling fixes #96

Merged

Conversation

sethterashima
Copy link
Collaborator

Description

"Recieve" -> "Receive". D'oh!

The pkg/connector/ble/ble.go method had both Receive and Recieve methods. Deleting the latter is an API-breaking change, but such changes should be expected in v0.x.x according to Go semantic versioning standards.
Fixes #60

Type of change

Please select all options that apply to this change:

  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Bug fix (non-breaking change which fixes an issue)
  • Documentation update

Checklist:

Confirm you have completed the following steps:

  • My code follows the style of this project.
  • I have performed a self-review of my code.
  • I have made corresponding updates to the documentation.
  • I have added/updated unit tests to cover my changes.

"Recieve" -> "Receive". D'oh!

The pkg/connector/ble/ble.go method had both Receive and Recieve
methods. Deleting the latter is an API-breaking change, but such changes
should be expected in v0.x.x according to Go semantic versioning
standards.
@@ -112,10 +112,6 @@ func (c *Connection) Send(ctx context.Context, buffer []byte) error {
return nil
}

func (c *Connection) Recieve() <-chan []byte {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is already a Receive method.

@sethterashima sethterashima merged commit 9c37f2a into teslamotors:main Dec 9, 2023
1 check passed
@sethterashima sethterashima deleted the spell-receive-correctly branch December 9, 2023 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maybe running golangci-lint first
2 participants