templates

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TemplateRepoURL = "https://github.com/taubyte-test/tb_templates"
)

Functions

func Get

func Get() *templates

func Repository

func Repository() *git.Repository

Types

type TemplateInfo

type TemplateInfo struct {
	HideURL     bool
	URL         string
	Description string
}

func (*TemplateInfo) CloneTo

func (info *TemplateInfo) CloneTo(dir string) error

CloneTo will create the directory for the template and move all files from the template repository except .git

Jump to

Keyboard shortcuts

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