config

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPort  = 8080
	DefaultPath  = ".marv"
	DefaultMerge = false
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Marv Marv `yaml:"marv"`
}

func Init

func Init() *Config

Init returns the default .marv.yml config for creating the default .marv.yml file.

type Marv

type Marv struct {
	Port   int    `yaml:"port"`
	Output Output `yaml:"output"`
}

type Output

type Output struct {
	Path  string
	Merge bool
}

Jump to

Keyboard shortcuts

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