Help us shape the future of Go! Take the 2026 Go Developer Survey

deploygen

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScaffoldStudio

func ScaffoldStudio(baseDir string, force bool) (string, error)

ScaffoldStudio writes the single-file studio Svelte route into ui/src/routes/studio/. Returns the written path. When the file already exists and force is false, the existing file is preserved and the path is returned unchanged.

func ScaffoldSvelteKitFromTemplates

func ScaffoldSvelteKitFromTemplates(ctx context.Context, baseDir string, cfg UIConfig, force bool) (int, error)

ScaffoldSvelteKitFromTemplates renderuje pełny zestaw szablonów SvelteKit do folderu ui/

Types

type UIConfig

type UIConfig struct {
	ServiceName string
	HTTPPort    string
	ObsPort     string
}

type UIFileSpec

type UIFileSpec struct {
	RelPath  string
	Template *template.Template
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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