OS Manuals

/usr/bin/gonew

starts a new Go module by copying a template module.

From gonew 0.52.0-r1 (os), captured 2026-11-05 by running gonew --help (exit 2). permalink

usage: gonew srcmod[@version] [dstmod [dir]]
See https://pkg.go.dev/golang.org/x/tools/cmd/gonew.

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.