genstdlibgomod

command
v0.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 12 Imported by: 0

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".

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL