Skip to content

Review ByteAny interface and ParseBytes #147

@martialblog

Description

@martialblog

Currently the ParseBytes function returns the ByteAny interface. I'm not sure how useful this is in practice and I much rather follow "accept interfaces, return structs".

In this case maybe be can change the function to return a uint64 and the user can then decide to use a BytesIEC or BytesSI?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions