configuration

package
v1.0.0-beta.8 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureDefaults

func EnsureDefaults(config models.CraftConfig) models.CraftConfig

EnsureDefaults acts to ensure default properties are always sets and also migrates old properties into new fields.

func ReadCraft

func ReadCraft(srcdir string, out any) error

ReadCraft reads the .craft file in srcdir input into the out input.

func WriteCraft

func WriteCraft(destdir string, config models.CraftConfig) error

WriteCraft writes the input craft into the input destdir in .craft file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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