Versions in this module Expand all Collapse all v1 v1.1.0 Oct 8, 2021 v1.0.0 Jan 3, 2021 Changes in this version + const JSON + const TOML + const YAML + func Generate(_type, _path string, name, version, author, description, repository string) error + type ConfigTemplate struct + Author interface{} + Description string + Env string + Name string + Packages map[string]string + Repository string + Scripts map[string]string + Target []string + Version string + func GetConfigStruct(name, version, author, description, repository string) *ConfigTemplate + func Parse(_type, _path string) (*ConfigTemplate, error) + type Generator struct + Config *ConfigTemplate + func (g *Generator) ToJson() ([]byte, error) + func (g *Generator) ToToml() ([]byte, error) + func (g *Generator) ToYaml() ([]byte, error) + type Parser struct + Data []byte + func (p *Parser) FromJson() (*ConfigTemplate, error) + func (p *Parser) FromToml() (*ConfigTemplate, error) + func (p *Parser) FromYaml() (*ConfigTemplate, error)