shorthand

package
v0.0.0-...-2e69b07 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GuessPkg

func GuessPkg() (string, error)

GuessPkg :

func GuessPkgFromPath

func GuessPkgFromPath(curdir string) (string, error)

GuessPkgFromPath :

func NewUncheckConfig

func NewUncheckConfig() *loader.Config

NewUncheckConfig :

Types

type BatchParser

type BatchParser struct {
	Files map[string]*ast.File
	// contains filtered or unexported fields
}

BatchParser :

func NewBatchParser

func NewBatchParser(c *loader.Config) *BatchParser

NewBatchParser :

func (*BatchParser) Add

func (bp *BatchParser) Add(filename string, src interface{})

Add :

func (*BatchParser) BindCreatePackageFromFiles

func (bp *BatchParser) BindCreatePackageFromFiles() error

BindCreatePackageFromFiles :

func (*BatchParser) ParseFiles

func (bp *BatchParser) ParseFiles() ([]*ast.File, error)

ParseFiles :

Jump to

Keyboard shortcuts

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