parse

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ErrorType = "error"
View Source
const GwPackage = "go.justen.tech/goodwill/gw"
View Source
const TaskType = "Task"

Variables

This section is empty.

Functions

This section is empty.

Types

type PkgInfo

type PkgInfo struct {
	AstPkg  *ast.Package
	DocPkg  *doc.Package
	Imports map[string]string
}

func Package

func Package(path string, files []string) (*PkgInfo, error)

type TaskFunction

type TaskFunction struct {
	Name string
	Doc  string
}

func TaskFunctions

func TaskFunctions(path string, info *PkgInfo) ([]TaskFunction, error)

Jump to

Keyboard shortcuts

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