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

tecnickcom / gogen / 28808062094
100%

Build:
DEFAULT BRANCH: main
Ran 06 Jul 2026 04:52PM UTC
Jobs 1
Files 167
Run time 1min
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

06 Jul 2026 04:47PM UTC coverage: 99.971%. Remained the same
28808062094

push

github

nicolaasuni
feat(encode): add Base64DecodeString/Base64Decoder, document decode caveats, and add benchmarks

- Add Base64DecodeString as the inverse of Base64EncodeString, returning raw bytes (need not be valid UTF-8) with a wrapped error.
- Add Base64Decoder as the read-side counterpart to Base64Encoder, and route BufferDecode and BufferDeserialize through it to drop the duplicated base64.NewDecoder construction.
- Document decode caveats on the relevant functions and the package doc: only the first encoded value is read (trailing bytes are ignored), the reader/buffer decoders do not bound input (wrap with io.LimitReader for untrusted sources), gob is unsuited to adversarial input (prefer the JSON family), and the JSON encoding includes a trailing newline.
- Add encode_benchmark_test.go covering the Base64 string helpers, gob Encode/Decode, and JSON Serialize/Deserialize.
- Note that ExampleEncode is intentionally not output-testable because the gob wire format embeds process-global type IDs.
- Reword BufferEncode/BufferSerialize docs from "low-allocation" to "single-buffer".

11 of 11 new or added lines in 1 file covered. (100.0%)

13655 of 13659 relevant lines covered (99.97%)

122044.26 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28808062094.1 06 Jul 2026 04:52PM UTC 167
99.97
GitHub Action Run
Source Files on build 28808062094
  • Tree
  • List 167
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28808062094
  • 50f263d9 on github
  • Prev Build on main (#28806925612)
  • Next Build on main (#28811427142)
  • Delete
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