structure

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Glide = "glide.yaml"
	Dep   = "Gopkg.toml"
	GoMod = "go.mod"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Library added in v0.0.14

type Library struct {
	Title       string
	Description string
	Path        string `toml:",omitempty"`
	Version     string `toml:",omitempty"`
	Type        string `toml:",omitempty"`
}

type Root

type Root struct {
	Title       string
	Description string
	Path        string `toml:",omitempty"`
	Version     string `toml:",omitempty"`
	BasePath    string
	SubProject  []SubProject
	Library     []Library
}

func LoadStructure

func LoadStructure(path string) (*Root, error)

func (*Root) ParseType

func (r *Root) ParseType()

type SubProject

type SubProject struct {
	Title       string
	Description string
	Path        string `toml:",omitempty"`
	Version     string `toml:",omitempty"`
	Type        string `toml:",omitempty"`
}

Jump to

Keyboard shortcuts

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