domain

package
v0.0.0-...-dc4cd30 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Path   string   `json:"path"`
	Order  []string `json:"order"`
	Ignore []string `json:"ignore"`
}

type Layer

type Layer struct {
	Path   string
	Order  map[string]int
	Ignore []string
}

func (*Layer) IsCorrectImport

func (l *Layer) IsCorrectImport(currentPackege string, targetPackeges string) (*Mesasge, bool, error)

func (*Layer) IsIgnorePackege

func (l *Layer) IsIgnorePackege(packegeName string) bool

func (*Layer) IsModulePackege

func (l *Layer) IsModulePackege(packegeName string) bool

func (*Layer) Package2Layer

func (l *Layer) Package2Layer(packegeName string) string

func (*Layer) UnmarshalJSON

func (l *Layer) UnmarshalJSON(data []byte) error

type Mesasge

type Mesasge struct {
	Current string
	Targer  string
}

Jump to

Keyboard shortcuts

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