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

config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load() (*types.Config, error)

Load reads ~/.vela/config.yaml and returns a Config. If the file does not exist, the defaults are returned without error.

func WriteDefault

func WriteDefault(force bool) (string, error)

WriteDefault writes the default config to ~/.vela/config.yaml. Returns an error if the file already exists (use force=true to overwrite).

Types

This section is empty.

Jump to

Keyboard shortcuts

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