config

package module
v0.0.0-...-40ae3b2 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2019 License: MPL-2.0 Imports: 4 Imported by: 1

Documentation

Overview

* Copyright (c) 2019 Anthony Wilcox and contributors. All rights reserved. * Licensed under the MPL 2.0 or later. See LICENSE file in the project * root for full license information.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Dest     string
	Emoticon map[string]string
}

func Init

func Init() (*Config, error)

Init creates an instance of the Config struct and reads from any number supported configuration formats (e.g. toml, json, yaml, ect...) as long as it's named "emote"

Jump to

Keyboard shortcuts

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