chore: initialize go module and cmd skeleton

This commit is contained in:
Mathias Bergqvist
2026-04-17 07:04:08 +02:00
parent 5e130e1965
commit dc574eca1a
4 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package main
import (
"os/exec"
"testing"
)
func TestBinaryCompiles(t *testing.T) {
cmd := exec.Command("go", "build", "./...")
out, err := cmd.CombinedOutput()
if err != nil {
t.Fatalf("build failed: %s\n%s", err, out)
}
}