vanity

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenSallyConf

func GenSallyConf(output, godoc, url string, pkgs *[]entity.Package) error

GenSallyConf generate Sally packages config format

Types

type Config added in v0.2.0

type Config struct {
	URL      string         `yaml:"url"`
	Packages map[string]Pkg `yaml:"packages"`
	Godoc    struct {
		Host string `yaml:"host"`
	} `yaml:"godoc"`
}

type Pkg

type Pkg struct {
	Repo string `yaml:"repo"`
}

Jump to

Keyboard shortcuts

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