core

package module
v0.0.0-...-dcb4846 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: MIT Imports: 8 Imported by: 7

README ¶

Go Report Card


🧱 Core Components

These exist, but in other places. This space should be the eventual one that's used as the import space by other projects.

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

View Source
var VERSION = "undefined" // set during the build process with -ldflags

VERSION of project.

Functions ¶

func LoadConfig ¶

func LoadConfig(name string, c interface{}) error

LoadConfig reads in a configuration file from a set of locations and deserializes it into a Config instance.

func MarshalConfig ¶

func MarshalConfig(c Config) (string, error)

Marshal converts a Config instance to a JSON string.

Types ¶

type Config ¶

type Config interface{}

Directories ¶

Path Synopsis

Jump to

Keyboard shortcuts

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