/declextract

Extract top-level Go declarations from a file.

Primary LanguageGoMIT LicenseMIT

declextract

Extract top-level Go declarations from a file.

Installation

go install github.com/bastjan/declextract@latest

Usage

$ declextract my/go/file.go InterestingVar