pkg

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AST

func AST(fs *token.FileSet, p *packages.Package) (*ast.Package, error)

AST returns package's abstract syntax tree

func Dir

func Dir(p *packages.Package) string

Dir returns absolute path of the package in a filesystem

func Load

func Load(path string) (*packages.Package, error)

Load loads package by its import path

Types

This section is empty.

Jump to

Keyboard shortcuts

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