config

package
v0.0.0-...-308a463 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Title       string
	Description string
	Author      string
	Footer      string
	Theme       string
	Posts       string
}

Struct to hold the configuration info defined in config.yml.

func ReadConfig

func ReadConfig() (*Config, error)

Reads config.yml and "unamrshals" the data.

Jump to

Keyboard shortcuts

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