config

package
v0.0.5 Latest Latest
Warning

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

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

Documentation

Overview

Package cfg provides a configuration file for the application

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists() bool

FileExists checks if the config file exists

func ToFile

func ToFile(filepath string, cfg *Config) error

Types

type Config

type Config struct {
	Repository string
}

func FromFile

func FromFile(path string) (*Config, error)

Jump to

Keyboard shortcuts

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