entity

package
v0.0.0-...-e9ad553 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Import

type Import struct {
	Path              string
	IsStandardLibrary bool
}

Import represents a imported Go library.

type Package

type Package struct {
	Name    string
	Imports []Import
}

Package represents a Go package.

func NewPackage

func NewPackage(name string, imports []*ast.ImportSpec) (*Package, error)

NewPackage creates a new Package.

Jump to

Keyboard shortcuts

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