go template
  • Shell 66.5%
  • Nix 31.8%
  • Go 1.7%
Find a file Use this template
trev 7da6f198ba
All checks were successful
check / check (push) Successful in 37s
refactor(go): migrate dev app to script packages
2026-07-15 16:23:40 -04:00
.forgejo chore(deps): update spotdemo4/nix-init action to v1.58.0 (#20) 2026-07-15 05:07:02 -04:00
.github chore(deps): update spotdemo4/nix-init action to v1.58.0 (#20) 2026-07-15 05:07:02 -04:00
.vscode ci(forgejo): add Forgejo check/update/release workflows 2026-05-29 04:42:23 -04:00
.zed style: move oxfmt to bottom, pin runs-on 2026-05-11 09:51:35 -04:00
.envrc.project style: add space at end of file 2025-11-05 10:43:31 -05:00
.gitignore ci(forgejo): add Forgejo check/update/release workflows 2026-05-29 04:42:23 -04:00
AGENTS.md fix: vscode oxc, agents 2026-05-11 07:18:40 -04:00
CLAUDE.md fix: vscode oxc, agents 2026-05-11 07:18:40 -04:00
flake.lock refactor(go): migrate dev app to script packages 2026-07-15 16:23:40 -04:00
flake.nix refactor(go): migrate dev app to script packages 2026-07-15 16:23:40 -04:00
go.mod chore(deps): update go toolchain directive to v1.26.5 (#16) 2026-07-08 05:06:13 -04:00
go.sum init 2025-09-10 00:03:18 -04:00
init.sh feat: add project initializer 2026-07-13 04:58:35 -04:00
LICENSE feat: set nixpkgs used by nixd 2026-04-29 00:12:00 -04:00
main.go feat: goreleaser, lots of minor changes 2026-01-14 05:35:59 -05:00
main_test.go fix: use test file instead of building entire project every check 2025-09-22 19:33:21 -04:00
opencode.json chore: enable OpenCode language servers 2026-07-13 02:57:59 -04:00
README.md feat: add project initializer 2026-07-13 04:58:35 -04:00
treefmt.toml style: remove unnecessary includes 2026-05-11 09:10:21 -04:00

go template

check vulnerable go

template for starting go projects

part of spotdemo4/templates

requirements

getting started

nix develop
./init.sh "Title" "Description"

run

nix run .#dev

format

nix fmt

check

nix flake check

build

nix build

release

bumper

releases are automatically created for significant changes

use

go

GOPROXY=https://trev.zip/api/packages/template/go \
    go install trev.zip/template/go
go run trev.zip/template/go

docker

docker run trev.zip/template/go:latest

nix

nix run git+https://trev.zip/template/go.git

download

https://trev.zip/template/go/releases