golang

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Importer

type Importer interface {
	ImportDir(string, []string) (*Package, error)
	IsGoroot(string) bool
	GOPATH() string
}

type Package

type Package struct {
	GoFiles        []string            `json:"go_files,omitempty"`
	Goroot         bool                `json:"goroot,omitempty"`
	Imports        []string            `json:"imports,omitempty"`
	Name           string              `json:"name,omitempty"`
	TestGoFiles    []string            `json:"test_go_files,omitempty"`
	TestImports    []string            `json:"test_imports,omitempty"`
	XTestGoFiles   []string            `json:"x_test_go_files,omitempty"`
	XTestImports   []string            `json:"x_test_imports,omitempty"`
	IgnoredGoFiles []string            `json:"ignored_go_files,omitempty"`
	GoFileImports  map[string][]string `json:"go_file_imports,omitempty"`
}

Jump to

Keyboard shortcuts

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