• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

beauhoyt / bytesize
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: v0.3.0
DEFAULT BRANCH: master
Repo Added 07 Feb 2026 09:39PM UTC
Files 3
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH v0.1.0
branch: v0.1.0
CHANGE BRANCH
x
Reset
  • v0.1.0
  • addBytesSupportToUint128
  • addUnitTestForNewBenchedmarkedFuncs
  • bumpCoverallsBadgeTo0_2_0
  • refactorAndBenchmarking
  • updateReadmeCoverallsBadge
  • updateReadmeMdBuildBadge
  • updateUint128
  • updateVersion0-3-0
  • updateWorkflowsCoveralls
  • v0.2.0
  • v0.3.0

10 Feb 2026 11:05PM UTC coverage: 98.636%. First build
21886072372

push

github

beauhoyt
Updates to Uint128 and Bytes

* Update Makefile moving `go tool cover -func=c.out` to the `make test`
  statement
* Update README.md adding badge for build/test with github workflows
* Add refactor Parse() breaking out logic into getNumAndUnitRunes() and
  getMultiplierForUnitString() to reduce high gocyclo complexity
* Added support for processing negative numbers to getNumAndUnitRUnes()
  so that we can throw proper errors when we get bad negative values.
* Change Type() to return `bytesize.Bytes` instead of `bytes`
* Update String() to return default value Lo uint64 as B Bytes. Though
  it should be impossible to hit this, but we have it just incase.
* Fix unit test for TestParseErrors()
* Add TestSet() and TestSetError() for testing Set()
* Add TestGet() for testing Get()
* Add TestType() for testing Type()
* Add TestUnmarshalText() for testing UnmarshalTexT()
* Add methods to Uint128: AddErr(), Add64Err(), SubErr(), Sub64Err(),
  MulErr(). And Updated Mul64Error() to Mul64Err().
* Add method to Uint128 FromBigErr()
* Update unit test for Uint128 to support new Err Methods:
  TestUint128()
* Add unit test for Uint128 to support new Err Methods:
  TestArithmeticErrors(), TestOverflowAndUnderflowErrors(),
  TestTrailingZeros(), TestOnesCount(), TestRotateLeft(),
  TestRotateRight(), TestReverse(), TestReverseBytes(), TestLen()

146 of 151 new or added lines in 2 files covered. (96.69%)

651 of 660 relevant lines covered (98.64%)

1.11 hits per line

Relevant lines Covered
Build:
Build:
660 RELEVANT LINES 651 COVERED LINES
1.11 HITS PER LINE
Source Files on v0.1.0
  • Tree
  • List 2
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
21886072372 v0.1.0 Updates to Uint128 and Bytes * Update Makefile moving `go tool cover -func=c.out` to the `make test` statement * Update README.md adding badge for build/test with github workflows * Add refactor Parse() breaking out logic into getNumAndUnitRune... push 10 Feb 2026 11:14PM UTC beauhoyt github
98.64
See All Builds (16)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc