Skip to content

Ypnose/gools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b52a83e · Mar 27, 2025

History

41 Commits
Jan 11, 2025
Mar 15, 2025
Feb 27, 2025
Dec 7, 2024
Jan 11, 2025
Jan 11, 2025
Jan 11, 2025
Feb 14, 2025
Mar 27, 2025
Jan 12, 2025
Dec 7, 2024
Mar 19, 2025
Jan 12, 2025
Mar 7, 2025
Nov 23, 2024
Jan 11, 2025
Feb 14, 2025

Repository files navigation

gools

Simple and portable tools written in Go.

The following commands work for all subdirectories.

Build

go build -ldflags "-w -s" -trimpath

Static build

CGO_ENABLED=0 go build -ldflags "-w -s" -trimpath

Cross-compilation

go tool dist list
# For an ARM64 binary running on Linux
GOOS=linux GOARCH=arm64 go build -ldflags "-w -s" -trimpath

Warning

For Raspberry Pi 1 compatible binary, GOARM needs to be specified

GOOS=linux GOARCH=arm GOARM=5 go build -ldflags "-w -s" -trimpath

License

BSD 3-Clause License. Check LICENSE.

About

Simple and portable tools written in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published