domain

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2020 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DData

type DData struct {
	Nodes []DNode `json:"nodes,omitempty"`
	Links []DLink `json:"links,omitempty"`
}

func VisualFromManifest

func VisualFromManifest(manifests []IgsoManifest) DData
type DLink struct {
	Source string `json:"source,omitempty"`
	Target string `json:"target,omitempty"`
	Value  int    `json:"value,omitempty"`
}

type DNode

type DNode struct {
	ID    string `json:"id,omitempty"`
	Group int    `json:"group,omitempty"`
}

type IgsoManifest

type IgsoManifest struct {
	ExportPackage []JavaPackage
	ImportPackage []JavaPackage
	KeyValues     []KeyValue
	PackageName   string
	Version       string
}

type JavaPackage

type JavaPackage struct {
	Name          string
	VersionInfo   string
	ExportVersion string
	StartVersion  string
	EndVersion    string
	Config        []KeyValue
}

type KeyValue

type KeyValue struct {
	Key   string
	Value string
}

type MavenDependency

type MavenDependency struct {
	Version    string
	GroupId    string
	ArtifactId string
}

func ByFileName

func ByFileName(s string, groupIdLength int) MavenDependency

func ByPackage

func ByPackage(pkg string, groupIdLength int) MavenDependency

func BySlashFileName

func BySlashFileName(s string) MavenDependency

func FromPackage

func FromPackage(packages []JavaPackage, depmap map[string]MavenDependency) []MavenDependency

func MapFromCSV

func MapFromCSV(csv [][]string) ([]MavenDependency, map[string]MavenDependency)

func RemoveDuplicate

func RemoveDuplicate(deps []MavenDependency) []MavenDependency

func SortDependencies added in v0.0.2

func SortDependencies(deps []MavenDependency) []MavenDependency

type MavenProject

type MavenProject struct {
	Version      string
	GroupId      string
	ArtifactId   string
	Dependencies []MavenDependency
}

Jump to

Keyboard shortcuts

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