Skip to content

chore(token/token/quantity.go): improvements #1467

Description

@adecaro

Here is a list of improvements to token/token/quantity.go.

  1. Consider returning errors instead of panicking for better error handling
  2. Consider making operations truly immutable (return new instances)
  3. Add benchmarks to track performance over time
  4. Consider adding a Clone() method for safe copying

Metadata

Metadata

Labels

Type

Fields

No fields configured for Task.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions