shared

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GitHubURL = "https://github.com"
)

Variables

View Source
var (
	KumaFilesPath string = ".kuma"

	KumaRunsPath string = KumaFilesPath + "/runs"

	OfficialTemplatesPath string = "official-templates.yaml"

	Run string

	Module string
)
View Source
var Templates = map[string]domain.Template{
	"arthurbcp/typescript-rest-openapi-services": domain.NewTemplate(
		"TypeScript Rest Services (OpenAPI 2.0)",
		"Create a library TypeScript with services typed for all endpoints described in a file Open API 2.0",
		[]string{"typescript", "openapi", "rest", "library"},
	),
	"arthurbcp/kuma-hello-world": domain.NewTemplate(
		"Hello World",
		"A simple Hello World in Go!",
		[]string{"golang", "example"},
	),
	"arthurbcp/kuma-changelog-generator": domain.NewTemplate(
		"Changelog Generator",
		"Helper to write a good changelog to your project",
		[]string{"changelog", "helper", "markdown"},
	),
}

Functions

func ReadFileFromURL added in v1.0.0

func ReadFileFromURL(url string) (string, error)

func RunCommand added in v1.0.0

func RunCommand(command string, args ...string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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