internal

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalVersionAsJSON added in v0.0.2

func MarshalVersionAsJSON(s *version) ([]byte, error)

func ParseFiles

func ParseFiles(files []string) ([]*ast.File, error)

ParseFiles parses the files to get AST.

func ParsePackage

func ParsePackage(dirPattern []string) (*packages.Package, error)

ParsePackage parses files according to given directory pattern to get the package information.

func ShowVersion

func ShowVersion()

ShowVersion shows the version and revision as JSON string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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