generators

package
v0.0.0-...-4599474 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//go:embed icon.png.tpl
	IconTpl []byte

	//go:embed go.mod.tpl
	GoModTpl string

	//go:embed main_dudirekta.go.tpl
	GoMainDudirektaTpl string

	//go:embed main_forms.go.tpl
	GoMainFormsTpl string

	//go:embed main_rest.go.tpl
	GoMainRESTTpl string

	//go:embed android_dudirekta.go.tpl
	AndroidDudirektaTpl string

	//go:embed android_forms.go.tpl
	AndroidFormsTpl string

	//go:embed android_rest.go.tpl
	AndroidRESTTpl string

	//go:embed .gitignore_dudirekta_parcel.tpl
	GitignoreDudirektaParcelTpl string

	//go:embed .gitignore_dudirekta_cra.tpl
	GitignoreDudirektaCRATpl string

	//go:embed .gitignore_rest.tpl
	GitignoreRESTTpl string

	//go:embed backend_dudirekta.go.tpl
	BackendDudirektaTpl string

	//go:embed backend_rest.go.tpl
	BackendRESTTpl string

	//go:embed frontend_dudirekta.go.tpl
	FrontendDudirektaTpl string

	//go:embed frontend_rest.go.tpl
	FrontendRESTTpl string

	//go:embed frontend_forms.go.tpl
	FrontendFormsTpl string

	//go:embed App.tsx.tpl
	AppTSXTpl string

	//go:embed main.tsx.tpl
	MainTSXTpl string

	//go:embed index_dudirekta_parcel.html.tpl
	IndexHTMLDudirektaParcelTpl string

	//go:embed index_dudirekta_cra.html.tpl
	IndexHTMLDudirektaCRATpl string

	//go:embed index_rest.html.tpl
	IndexHTMLRESTTpl string

	//go:embed index_forms.html.tpl
	IndexHTMLFormsTpl string

	//go:embed package_parcel.json.tpl
	PackageJSONParcelTpl string

	//go:embed package_cra.json.tpl
	PackageJSONCRATpl string

	//go:embed tsconfig.json.tpl
	TsconfigJSONTpl string

	//go:embed hydrapp.yaml.tpl
	HydrappYAMLTpl string

	//go:embed CODE_OF_CONDUCT.md.tpl
	CodeOfConductMDTpl string

	//go:embed README.md.tpl
	ReadmeMDTpl string
)

Functions

func RenderTemplate

func RenderTemplate(path string, tpl string, data any) error

Types

type AndroidData

type AndroidData struct {
	GoMod     string
	JNIExport string
}

type AppTSXData

type AppTSXData struct {
	AppName string
}

type CodeOfConductMDData

type CodeOfConductMDData struct {
	ReleaseEmail string
}

type GoMainData

type GoMainData struct {
	GoMod string
}

type GoModData

type GoModData struct {
	GoMod string
}

type HydrappYAMLData

type HydrappYAMLData struct {
	AppID string
}

type IndexHTMLData

type IndexHTMLData struct {
	AppName string
}

type PackageJSONData

type PackageJSONData struct {
	AppID          string
	AppDescription string
	ReleaseAuthor  string
	ReleaseEmail   string
	LicenseSPDX    string
}

type ProjectTypeOption

type ProjectTypeOption struct {
	Name        string
	Description string
}

type ReadmeMDData

type ReadmeMDData struct {
	AppName        string
	AppSummary     string
	AppGitWeb      string
	AppDescription string
	AppBaseURL     string
	AppGit         string
	CurrentYear    string
	ReleaseAuthor  string
	LicenseSPDX    string
	Dir            string
}

Jump to

Keyboard shortcuts

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