config

package
v0.0.0-...-46e3ee7 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package config . Used to load all the configurations for the functionality of the application

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port string `mapstructure:"PORT"`
	Path string `mapstructure:"PATH"`
}

Config is a struct that contains configurations that are used throughout the application

func (*Config) Load

func (c *Config) Load()

Load is a fucntion that is used to load all the configurations from the relevant sources

Jump to

Keyboard shortcuts

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