We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Header.GetIndex()
It is preferable to avoid that, but generics in Go don't support structural types for now, ref. golang/go#51259.
// GetIndex returns the index of the block. func (b *Header) GetIndex() uint32 { return b.Index }
So one day redundant code should be removed.
#3789 (comment)
The text was updated successfully, but these errors were encountered:
Attach the link to the original conversation.
Sorry, something went wrong.
GetIndex()
No branches or pull requests
Is your feature request related to a problem? Please describe.
It is preferable to avoid that, but generics in Go don't support structural types for now, ref. golang/go#51259.
Describe the solution you'd like
So one day redundant code should be removed.
Describe alternatives you've considered
Additional context
#3789 (comment)
The text was updated successfully, but these errors were encountered: