java

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsStdlib

func IsStdlib(imp string) bool

func IsTestPath

func IsTestPath(dir string) bool

IsTestPath tries to detect if the directory would contain test files of not.

Types

type Import

type Import struct {
	Pkg     string
	Classes []string
}

func NewImport

func NewImport(imp string) *Import

func (*Import) Path

func (i *Import) Path() string

type Package

type Package struct {
	Name string

	Imports []string
	Mains   []string

	// Especially useful for module mode
	Files       []string
	TestPackage bool
}

Jump to

Keyboard shortcuts

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