commentof

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: MIT Imports: 3 Imported by: 2

README

commentof

extract comment of something in go

install command

$ go install github.com/podhmo/commentof/cmd/go-commentof@latest

Documentation

Index

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

Directories

Path Synopsis
cmd
go-commentof command

Jump to

Keyboard shortcuts

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