README ¶ commentof extract comment of something in go install command $ go install github.com/podhmo/commentof/cmd/go-commentof@latest Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func File(fset *token.FileSet, t *ast.File, options ...Option) (*collect.Package, error) func Package(fset *token.FileSet, t *ast.Package, options ...Option) (*collect.Package, error) type Option func WithIncludeUnexported(ok bool) Option Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func File ¶ func File(fset *token.FileSet, t *ast.File, options ...Option) (*collect.Package, error) func Package ¶ func Package(fset *token.FileSet, t *ast.Package, options ...Option) (*collect.Package, error) Types ¶ type Option ¶ added in v0.0.1 type Option func(*collect.PackageBuilder) func WithIncludeUnexported ¶ added in v0.0.1 func WithIncludeUnexported(ok bool) Option Source Files ¶ View all Source files commentof.go Directories ¶ Show internal Expand all Path Synopsis cmd go-commentof collect Click to show internal directories. Click to hide internal directories.