Repository navigation
Go support
- Reads Go 1.27.2 to 1.27.4 export data (unified IR version 5, which adds each method's declaration index), as well as Go 1.27.0 and 1.27.1 (version 4). Go 1.27.4 is now fully supported; before this release gocut reused nothing on Go 1.27.2 and later.
- A dependency whose export data gocut cannot read is now blocked as
export-datawith the real reason (for exampleexport data version 2 is not one gocut supports ([4, 5])on Go 1.26). It used to be reported as a dot import.
New
-
gocut watch: a hot-reload loop that rebuilds and restarts your program when a file it is built from changes, replacing air. -
.gocutignoreandgocut watch --ignoreto skip files by pattern. -
gocut version(--version,-V) prints the version and the Go releases gocut supports. -
Prebuilt binaries for Linux x86_64 and arm64 (glibc 2.35 or newer) and macOS Apple silicon and Intel, with
SHA256SUMS, and a one-line installer:curl -fsSL https://raw.githubusercontent.com/emoss08/gocut/main/install.sh | sh
Project
- CI runs the toy matrix on Go 1.27.1 and 1.27.4 in shadow and active mode, plus tests on Linux and macOS and the minimum Rust version (1.88).
- MIT license.
Full changelog: v0.1.0...v0.2.0