fileinfo

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PRIV = 0
	PUB  = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Args added in v0.4.0

type Args struct {
	FilePath string
	ShowAll  bool
	HideTest bool
}

type FileInfo

type FileInfo struct {
	Icon         string
	Tag          string
	Descriptions []string
}

func GoInfo

func GoInfo(args *Args) (*FileInfo, error)

GoInfo provides golang file *.go info

func GoModInfo

func GoModInfo(args *Args) (*FileInfo, error)

GoModInfo provides go.mod file info: specified go version

func LicenseInfo

func LicenseInfo(args *Args) (*FileInfo, error)

LicenseInfo provides LICENSE file info

Jump to

Keyboard shortcuts

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