z-go-entrypoint

Installation
SKILL.md

Go Entrypoint

main reads the process and exits. run does the work and returns an error. Every testable behavior lives in run.

Thin main

Five statements, no logic. It owns the only os.Exit in the call graph.

// cmd/app/main.go
package main

import (
    "context"
    "fmt"
    "io"
    "os"
)
Installs
5
First Seen
11 days ago