global

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Templates map[string]ITemplate

Functions

This section is empty.

Types

type Config

type Config struct {
	Type string `json:"type"`
	Repo string `json:"repo"`
}
var GlobalConfig Config

type ITemplate

type ITemplate interface {
	Url() string
	Make(params TemplateParams) error
}

type TemplateParams

type TemplateParams struct {
	PackageName string `json:"package_name"`
	Username    string `json:"username"`
	AppName     string `json:"app_name"`
	RepoUrl     string `json:"repo_url"`
}

Jump to

Keyboard shortcuts

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