models

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArchFileSyntaxWarning

type ArchFileSyntaxWarning struct {
	// contains filtered or unexported fields
}

func NewArchFileSyntaxWarning

func NewArchFileSyntaxWarning(path string, err error) *ArchFileSyntaxWarning

func (ArchFileSyntaxWarning) Path

func (w ArchFileSyntaxWarning) Path() string

func (ArchFileSyntaxWarning) Warning

func (w ArchFileSyntaxWarning) Warning() error

type ImportType

type ImportType uint8
const (
	ImportTypeStdLib ImportType = iota
	ImportTypeProject
	ImportTypeVendor
)

type ResolvedFile

type ResolvedFile struct {
	Path    string
	Imports []ResolvedImport
}

type ResolvedImport

type ResolvedImport struct {
	Name       string
	ImportType ImportType
}

type UserSpaceEmptyError added in v1.4.0

type UserSpaceEmptyError struct{}

func NewUserSpaceEmptyError added in v1.4.0

func NewUserSpaceEmptyError() UserSpaceEmptyError

func (UserSpaceEmptyError) Error added in v1.4.0

func (u UserSpaceEmptyError) Error() string

type UserSpaceError added in v1.4.0

type UserSpaceError struct {
	// contains filtered or unexported fields
}

func NewUserSpaceError added in v1.4.0

func NewUserSpaceError(msg string) UserSpaceError

func (UserSpaceError) Error added in v1.4.0

func (u UserSpaceError) Error() string

Jump to

Keyboard shortcuts

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