utils

package
v0.0.0-...-1946ff8 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigFromFile

func GetConfigFromFile(path string) (c structs.Config, err error)

GetConfigFromFile reads the website config from the given path.

path is a filepath, relative to the current working directory, of a TOML file marshallable to a structs.Config struct.

Returns a config struct and nil if the config read was successful, and an undefined value and non-nil otherwise.

Types

This section is empty.

Directories

Path Synopsis
Package ical adapted from https://github.com/soh335/ical
Package ical adapted from https://github.com/soh335/ical

Jump to

Keyboard shortcuts

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