tool

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 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 {
	Package Package `json:"package" toml:"package"`
	Mod     *Mods   `json:"mod" toml:"mod"`
	Pkg     *Mod    `json:"pkg" toml:"pkg"`
}

func New

func New(f string) (*Config, error)

type Mod

type Mod struct {
	Name    string `json:"name" toml:"name"`
	Alias   string `json:"alias" toml:"alias"`
	Type    string `json:"type" toml:"type"`
	Version string `json:"version" toml:"version"`
	Dir     string `json:"dir" toml:"dir"`
}

type Mods

type Mods []Mod

type Package

type Package struct {
	Kind      string `json:"kind" toml:"kind"`
	Namespace string `json:"namespace" toml:"namespace"`
}

Jump to

Keyboard shortcuts

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