extract

command
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Overview

Command extract parses Go package source using mvm's goparser and prints exported const, var, type, and func declarations to stdout.

Usage:

go run ./cmd/extract <directory>
go run ./cmd/extract -stdlib <import-path> <directory>

In -stdlib mode the binding file is written to ./core/<file>.go or ./ext/<file>.go relative to the current working directory.

Jump to

Keyboard shortcuts

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