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

remove "Chan" type #23

Merged
merged 2 commits into from
Aug 5, 2021
Merged

remove "Chan" type #23

merged 2 commits into from
Aug 5, 2021

Conversation

Stebalien
Copy link
Member

This type isn't used anywhere and doesn't conform to go's ReadFrom/WriteTo interfaces. Unfortunately, go vet doesn't have any way to say "please ignore this error", so our options were to:

  1. Fix it.
  2. Delete it.

Given that it isn't used and hasn't been for years, I opted for the latter. We can always re-implement it later if we need it (and bring it up to do date with idiomatic go).

@Stebalien
Copy link
Member Author

This will let us test with unified CI.

msgio/msgio.go Outdated
@@ -1,108 +0,0 @@
package main
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this file being deleted?

Copy link
Member Author

Choose a reason for hiding this comment

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

Less code to maintain. But I'll restore it, there's really no motivation to remove it.

It's not used anywhere and it makes go-vet unhappy due to the
ReadFrom/WriteTo signatures. These could be fixed, but maintianing this
code isn't worth it.
@marten-seemann marten-seemann merged commit 453c310 into master Aug 5, 2021
@aschmahmann aschmahmann mentioned this pull request Dec 1, 2021
80 tasks
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.

2 participants