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

uber / h3-go / 27731679822
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: justinhwang/forward-gnomonic-opt
DEFAULT BRANCH: master
Ran 18 Jun 2026 02:00AM UTC
Jobs 1
Files 18
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

18 Jun 2026 01:56AM UTC coverage: 100.0%. First build
27731679822

Pull #131

github

justinhwang
refactor: remove internal/h3core and reorganize x/h3go

Remove the internal/h3core package and inline the shared H3 index-format
constants and pentagon base-cell table into both consumers, so neither
depends on the shared package:
- h3: bit-layout constants become literals (or C macros where the block
  already uses them); the pentagon table becomes a package-level var.
- x/h3go: same constants and pentagon table inlined, keeping the package
  fully cgo-free and self-contained.

Reorganize x/h3go alongside the inlining:
- Group const/var/type declaration blocks at the top of each source file.
- Split error vars into errors.go; rename h3go.go -> constants.go and add
  h3.go for the package doc.
- Move type declarations out of constants.go into the files where their
  methods live (projection primitives -> faceijk.go, etc.).
- Convert bboxFromGeoLoop/bboxesFromGeoPolygon to methods
  (GeoLoop.toBbox / GeoPolygon.toBboxes).
- Replace the shared Cell bit-manipulation methods with generic functions
  over the Index constraint (modeOf, reservedBits, resolution, indexDigit,
  indexDigitChecked, ownerCell) so DirectedEdge and Vertex no longer cast to
  Cell to reuse them; no DirectedEdge/Vertex -> Cell casts remain.
- Add a typed `mode` (iota: cellMode=1, directedEdgeMode=2, edgeMode=3 unused,
  vertexMode=4); modeOf returns it.

No behavior change; parity tests, 100% coverage, vet, and golangci-lint all pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pull Request #131: refactor: remove internal/h3core and reorganize x/h3go

85 of 85 new or added lines in 13 files covered. (100.0%)

4179 of 4179 relevant lines covered (100.0%)

3237874.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go- - 27731679822.1 18 Jun 2026 02:00AM UTC 18
100.0
GitHub Action Run
Source Files on build 27731679822
  • Tree
  • List 18
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #131
  • PR Base - justinhwang/purego-phase-g (#27727582997)
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