From 63575ce827a736f396b43556521862a950d0c46e Mon Sep 17 00:00:00 2001 From: clawbot <35+clawbot@noreply.example.org> Date: Mon, 21 Sep 2026 09:25:38 +0200 Subject: [PATCH] Move the entrypoint to cmd/keyfunc (closes #20) main.go moves unchanged to cmd/keyfunc/main.go, where REPO_POLICIES.md puts Go entrypoints, and the Makefile build target builds ./cmd/keyfunc. The binary is still written to ./keyfunc and still carries the stamped version. Model: opus-4-8 (implementation); fable-5-1 (summary) --- Makefile | 2 +- main.go => cmd/keyfunc/main.go | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename main.go => cmd/keyfunc/main.go (100%) diff --git a/Makefile b/Makefile index af82436..b977ebe 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ setup: @script/setup build: - go build -trimpath -ldflags "$(LDFLAGS)" -o keyfunc . + go build -trimpath -ldflags "$(LDFLAGS)" -o keyfunc ./cmd/keyfunc test: @script/test diff --git a/main.go b/cmd/keyfunc/main.go similarity index 100% rename from main.go rename to cmd/keyfunc/main.go