fathom: github.com/usefathom/fathom/pkg/config Index | Files

package config

import "github.com/usefathom/fathom/pkg/config"


Package Files


func LoadEnv Uses

func LoadEnv(file string)

LoadEnv loads env values from the supplied file

type Config Uses

type Config struct {
    Database *sqlstore.Config
    Secret   string

Config wraps the configuration structs for the various application parts

func Parse Uses

func Parse() *Config

Parse environment into a Config struct

Package config imports 8 packages (graph) and is imported by 1 packages. Updated 2018-08-06. Refresh now. Tools for package owners.