Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 03 Dec 13:26
· 248 commits to main since this release

The first release of go-anything: migrate your app to Go one piece at a time, and check that every piece still behaves like the original. A Go port of rust-anything by Erkam Yaman.

What works

For Python, TypeScript/JavaScript, Ruby, C, Rust, PHP and Swift originals, the unit loop end to end:

  • analyze (also --whole-app) and profile: what to port, and what is hot under a real workload.
  • bridge, refresh, build: a Go port module per unit, functions and classes, over a binary wire with a JSON fallback, and batches that keep many items in Go.
  • record (with --from-tests, --pin-clock, --sandbox), diff, fuzz, bench: the original's behavior recorded, and the port checked against it.
  • gate: the definition of done, with its cheat guard; selftest plants wrong ports and requires gate and diff to refuse each.
  • enable, disable, shadow: switch callers to the port and back, byte for byte.
  • go: the loop in one command, handing the port to a coding agent.
  • report, map, log, rules, clean, doctor, setup, mcp, package.
  • Whole apps: app record and app replay for command-line apps and HTTP servers, side effects (webhooks, mail, databases), app drift, app front-door and app wire; obligations with its Python and TS/JS detectors, --evidence, --check, attest, waive, fallbacks.

Ports that pass gate on real code: demo/py-textkit, demo/ts-textkit, demo/ruby-shellwords, demo/c-musl, demo/rust-strsim, demo/php-xml-util, demo/swift-argparse-strings.

Not yet

  • Java, Kotlin, C# and PowerShell as source languages.
  • app lift, new and spec check (written, merged after this release).
  • No language is "verified" on a large real-world project yet.
  • The npm package is not published.

What was run and how is in docs/STATUS.md.

Install

go install github.com/boracomet/go-anything/cmd/go-anything@v0.1.0

or download the binary for your platform below. Building a port module needs Go 1.25 or newer and a C compiler (go-anything doctor checks).

GitHub Action

- uses: boracomet/go-anything@v0.1.0
  with:
    modules: go/my-port-go
    version: v0.1.0