internal

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateGetters

func GenerateGetters(typeName string, fields []*constructor.Field) g.Statement

GenerateGetters generates getters for each field.

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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