data

package
v0.0.0-...-7214de4 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: MIT Imports: 1 Imported by: 0

README

Gothic Framework

Gothic Framework is a developer-first toolset built to help you craft fast, scalable, and modern web applications using the GOTTH stack:
Golang, TailwindCSS, Templ, and HTMX.

Inspired by frameworks like Next.js, Gothic Framework brings powerful full-stack features to Go developers — including edge-ready architecture, SEO enhancements, and a fantastic development experience (DX).

See our docs

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultCLIData = GothicCliData{
	PublicFolderAssets: map[string]embed.FS{
		"public/imageExample/blurred.png":  publicFolder,
		"public/imageExample/original.png": publicFolder,
		"public/favicon.ico":               publicFolder,
		"public/styles.css":                publicFolder,
	},
	TemplateFiles: map[string]embed.FS{
		".gothicCli/templates/Dockerfile-template":             templatesFolder,
		".gothicCli/templates/samconfig-template.toml":         templatesFolder,
		".gothicCli/templates/sam-template.yaml":               templatesFolder,
		".gothicCli/templates/routes_gen.go":                   templatesFolder,
		".gothicCli/templates/wasm/topic_gen.go":               templatesFolder,
		".gothicCli/templates/wasm/wasm_page_main.go":          templatesFolder,
		".gothicCli/templates/wasm/wasm_topic_manager_main.go": templatesFolder,
	},
	InitialFiles: map[string]embed.FS{

		"src/routes/routes_gen.go": srcFolder,

		"src/pages/index.templ":      srcFolder,
		"src/pages/revalidate.templ": srcFolder,
		"src/pages/counter.templ":    srcFolder,
		"src/pages/counter_templ.go": srcFolder,

		"src/topics/counter_topic.go": srcFolder,

		"src/layouts/layout.templ": srcFolder,

		"src/css/app.css": srcFolder,

		"src/components/helloWorld.templ": srcFolder,
		"src/components/lazyLoad.templ":   srcFolder,

		"src/api/helloWorld.go": srcFolder,

		"makefile":           makeFile,
		"tailwind.config.js": tailwindConfig,
		"README.md":          readme,
		"gothic-config.json": goticConfig,
	},
	InitialDirs: []string{

		"public",
		".gothicCli",
		"src",
		"optimize",

		"public/imageExample",

		".gothicCli/templates",
		".gothicCli/templates/wasm",

		"src/api",
		"src/components",
		"src/css",
		"src/layouts",
		"src/pages",
		"src/routes",
		"src/topics",
	},
	GitIgnore:    gitIgnore,
	Env:          env,
	GoticConfig:  goticConfig,
	Readme:       readme,
	MakeFile:     makeFile,
	SrcFolder:    srcFolder,
	PublicFolder: publicFolder,
	ServerFolder: serverFolder,
	CustomTemplateBasedPages: map[string]string{
		"src/pages/revalidate.templ": "Revalidate",
		"src/pages/index.templ":      "Index",
		"src/pages/counter.templ":    "Counter",
	},
	CustomTemplateBasedComponents: map[string]string{
		"src/components/helloWorld.templ": "HelloWorld",
		"src/components/lazyLoad.templ":   "LazyLoad",
	},
	CustomTemplateBasedRoutes: map[string]string{
		"src/api/helloWorld.go": "HelloWorld",
	},
}

Functions

This section is empty.

Types

type GothicCliData

type GothicCliData struct {
	TemplateFiles                 map[string]embed.FS
	InitialFiles                  map[string]embed.FS
	PublicFolderAssets            map[string]embed.FS
	InitialDirs                   []string
	CustomTemplateBasedPages      map[string]string
	CustomTemplateBasedComponents map[string]string
	CustomTemplateBasedRoutes     map[string]string
	GitIgnore                     string
	Env                           string
	GoticConfig                   embed.FS
	Readme                        embed.FS
	MakeFile                      embed.FS
	SrcFolder                     embed.FS
	PublicFolder                  embed.FS
	ServerFolder                  embed.FS
	ProjectName                   string
	GoModName                     string
}

Directories

Path Synopsis
src
api
components
templ: version: v0.3.898
templ: version: v0.3.898
layouts
templ: version: v0.3.898
templ: version: v0.3.898
pages
templ: version: v0.3.898
templ: version: v0.3.898

Jump to

Keyboard shortcuts

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