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

uber / h3-go
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: justinhwang/remove-h3core
DEFAULT BRANCH: master
Repo Added 18 Sep 2018 05:56PM UTC
Files 18
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 justinhwang/remove-h3core
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • bench-ranges
  • chore-upgrade-h3-core
  • feat-add-error-codes
  • feat/latlng-to-cells-batch
  • gilley/adopt-modules
  • gilley/test-str
  • gilley/travis
  • joegilley-patch-2
  • joegilley-patch-3
  • justinhwang/4.3
  • justinhwang/4.5
  • justinhwang/bindings
  • justinhwang/bit
  • justinhwang/bump
  • justinhwang/changelog
  • justinhwang/coverage
  • justinhwang/doc
  • justinhwang/docs
  • justinhwang/edge
  • justinhwang/err
  • justinhwang/forward-gnomonic-opt
  • justinhwang/from_string
  • justinhwang/generics
  • justinhwang/github
  • justinhwang/greatcircle
  • justinhwang/griddiskunsafe
  • justinhwang/gridring
  • justinhwang/indexdigit
  • justinhwang/intpow
  • justinhwang/latlngcell
  • justinhwang/latlngstr
  • justinhwang/numverts
  • justinhwang/paritytest-benchmarks
  • justinhwang/purego-phase-a
  • justinhwang/purego-phase-b
  • justinhwang/purego-phase-c
  • justinhwang/purego-phase-d
  • justinhwang/purego-phase-e
  • justinhwang/purego-phase-f
  • justinhwang/purego-phase-g
  • justinhwang/readme
  • justinhwang/remove-h3core
  • justinhwang/stack
  • justinhwang/tostring
  • justinhwang/tovec3-projection-opt
  • justinhwang/unsafe
  • justinhwang/vertex
  • maintainer-banner
  • master
  • refs/tags/v3.7.0
  • refs/tags/v3.7.1
  • refs/tags/v4.0.0
  • refs/tags/v4.0.1
  • refs/tags/v4.1.0
  • refs/tags/v4.1.1
  • refs/tags/v4.1.2
  • refs/tags/v4.2.0
  • refs/tags/v4.2.1
  • refs/tags/v4.2.2
  • refs/tags/v4.2.3
  • refs/tags/v4.2.4
  • refs/tags/v4.3.0
  • refs/tags/v4.4.0
  • refs/tags/v4.4.1
  • refs/tags/v4.5.0
  • update-h3
  • upgrade-github-actions-node24
  • v3.0.0
  • v3.0.1
  • v3.0.2
  • v4
  • vscode
  • zcoleman/exposing-polygontocells-containment
  • zcoleman/issue-78

31 Jul 2026 12:49AM UTC coverage: 100.0%. First build
30594621782

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

Relevant lines Covered
Build:
Build:
4179 RELEVANT LINES 4179 COVERED LINES
3237874.27 HITS PER LINE
Source Files on master
  • Tree
  • List 18
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
30594621782 justinhwang/remove-h3core 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... Pull #131 31 Jul 2026 12:52AM UTC justinhwang github
100.0
30594621516 justinhwang/purego-phase-g feat: add pure-Go regions (polygon/cells, multipolygon) to x/h3go Implements the full H3 regions API in pure Go, verified against the cgo reference: - PolygonToCells (legacy flood-fill polyfill) and GeoPolygon.Cells, with the GeoPolygon/GeoLoo... Pull #130 31 Jul 2026 12:52AM UTC justinhwang github
100.0
30594621062 justinhwang/purego-phase-f feat: add pure-Go vertexes, directed edges & edge length to x/h3go Add the Vertex and DirectedEdge index types with their full method and free-function surfaces: Cell.Vertex/Vertexes and Vertex.LatLng/IsValid/ String/Resolution/IndexDigit; Cell.D... Pull #129 31 Jul 2026 12:51AM UTC justinhwang github
100.0
30594622688 justinhwang/forward-gnomonic-opt perf: fold forward gnomonic projection (toHex2d) into algebra toHex2d is the forward gnomonic projection behind LatLngToCell, PolygonToCells, and local-IJ -> cell. Like the earlier toVec3 work it computed the angle and radius with transcendentals... Pull #134 31 Jul 2026 12:51AM UTC justinhwang github
100.0
30594622066 justinhwang/paritytest-benchmarks test+perf: parity benchmarks and allocation cuts for x/h3go Add a cgo-vs-pure-Go benchmark suite under x/h3go/paritytest covering every publicly exposed function and method, each run as "impl=cgo" and "impl=go" sub-benchmarks so `benchstat -col /... Pull #132 31 Jul 2026 12:51AM UTC justinhwang github
99.76
30594621178 justinhwang/purego-phase-e feat: add pure-Go local IJ coordinates & grid metrics to x/h3go Add CellToLocalIJ/LocalIJToCell, GridDistance, GridPath (and Cell method forms) plus the CoordIJ type, implementing the local IJK/IJ coordinate machinery, cube-coordinate line interp... Pull #128 31 Jul 2026 12:51AM UTC justinhwang github
100.0
30594622213 justinhwang/tovec3-projection-opt perf: fold projection trig into precomputed tables and fused IJK descent Two hot transforms behind nearly every geometry call are reworked. toVec3 (the inverse gnomonic projection behind CellToLatLng, CellToBoundary, CellArea*, EdgeLength*, vert... Pull #133 31 Jul 2026 12:51AM UTC justinhwang github
100.0
30594620870 justinhwang/purego-phase-d feat: add pure-Go grid traversal (k-ring/disk/ring) to x/h3go Implement the grid traversal family in pure Go, verified against the cgo reference: - GridDisk (+ method), GridDisksUnsafe - GridDiskDistances / Unsafe / Safe (+ methods) - GridRing /... Pull #127 31 Jul 2026 12:51AM UTC justinhwang github
100.0
30594576450 justinhwang/purego-phase-c Merge branch 'master' into justinhwang/purego-phase-c Pull #126 31 Jul 2026 12:49AM UTC web-flow github
100.0
30594477828 justinhwang/purego-phase-b feat: add pure-Go CellToLatLng & CellToBoundary to x/h3go Implement the reverse projection pipeline in pure Go: CellToLatLng (+ Cell.LatLng) and CellToBoundary (+ Cell.Boundary), with the supporting FaceIJK/coordIJK/vec2d/vec3d geometry, substrat... push 31 Jul 2026 12:47AM UTC justinhwang github
100.0
See All Builds (343)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc