config

package
v0.0.0-...-4d8c88f Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Overview

This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/.

This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/.

This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureAtLeastOneSpaceInConfig

func EnsureAtLeastOneSpaceInConfig()

func GetPageConfig

func GetPageConfig(pageName string, spaceConfig *viper.Viper, frontmatterConfig *viper.Viper) *viper.Viper

func GetSpaceConfig

func GetSpaceConfig(spaceName string, parentConfig *viper.Viper) *viper.Viper

func InitConfig

func InitConfig(cfgFile string)

InitConfig reads in config file and ENV variables if set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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