scaffolding

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 8 Imported by: 0

README

Project Scaffolding

Sub packages

  • common: common files (e.g. htmx, inox.js, preact signal library)
  • templates

Documentation

Index

Constants

View Source
const (
	MINIMAL_WEB_APP_TEMPLATE_NAME = "web-app-min"
)

Variables

View Source
var (
	//go:embed templates/**
	TEMPLATE_FILES embed.FS

	//go:embed common/**
	COMMON_FILES embed.FS

	BASE_CSS_STYLESHEET string
	INOX_JS             string

	HTMX_MIN_JS                 string
	JSON_FORM_EXTENSION_JS      string
	PREACT_SIGNALS_JS           string
	SURREAL_CSS_INLINE_SCOPE_JS string

	FULL_HTMX_MIN_JS string
	FULL_INOX_JS     string
)

Functions

func WriteTemplate

func WriteTemplate(name string, fls afs.Filesystem) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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