models

package
v1.3.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: MIT Imports: 0 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
}

Jump to

Keyboard shortcuts

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