Documentation
¶
Overview ¶
genstdlibgomod generates cmd/kukicha/stdlib_gomod_gen.go by deriving the go.mod and go.sum content for the extracted stdlib module from the main repo's go.mod and go.sum. It scans stdlib/**/*.go to determine which third-party modules stdlib directly imports, scans internal/**/*.go and cmd/**/*.go to identify compiler-only deps that should be excluded, and then emits stdlibGoMod / stdlibGoSum constants that stay perfectly in sync with the repo's own dependency pins.
Run via "make genstdlibgomod" or "go run ./cmd/genstdlibgomod".
Click to show internal directories.
Click to hide internal directories.