scaffold

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScaffoldDomain

func ScaffoldDomain(domain enginedomain.Domain, opts ...ScaffoldOption) error

ScaffoldDomain creates a new domain directory structure within the specified base path. Use WithModTidy() option to run 'go mod tidy' after scaffolding.

func ScaffoldEnvDir

func ScaffoldEnvDir(envdir enginedomain.EnvDir) error

ScaffoldEnvDir creates a new environment directory structure within the specified base path.

Types

type ScaffoldOption

type ScaffoldOption func(*ScaffoldOptions)

ScaffoldOption is a functional option type for configuring domain scaffolding.

func WithModTidy

func WithModTidy() ScaffoldOption

WithModTidy enables running 'go mod tidy' after scaffolding. This will resolve and download all dependencies for the new domain.

type ScaffoldOptions

type ScaffoldOptions struct {
	// contains filtered or unexported fields
}

ScaffoldOptions holds configuration options for domain scaffolding.

Jump to

Keyboard shortcuts

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