tests

package
v0.0.0-...-ad4b942 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Yes Choices = "1"
	No  Choices = "2"

	API  Variants = "1"
	Web  Variants = "2"
	Both Variants = "3"

	Bootstrap CssAddons = "1"
	Tailwind  CssAddons = "2"
	None      CssAddons = "3"
)

Variables

This section is empty.

Functions

func ChangeDirectory

func ChangeDirectory(dir string)

func GetCurrentDirectory

func GetCurrentDirectory() string

func ReadFile

func ReadFile(filename string) string

Types

type Choices

type Choices string

type Cookiecutter

type Cookiecutter struct {
	AppName       string
	Variant       Variants
	CssAddon      CssAddons
	UseLogrus     Choices
	UseHeroku     Choices
	UseMockServer Choices
}

Field and order MUST be the same as cookiecutter.json

func (Cookiecutter) CreateProjectFromGinTemplate

func (c Cookiecutter) CreateProjectFromGinTemplate(currentTemplatePath string)

type CssAddons

type CssAddons string

type Variants

type Variants string

Jump to

Keyboard shortcuts

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