internal

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BaseConfig config

Functions

func Add

func Add(k string, v string) error

Add a new element

func CheckNewVersion

func CheckNewVersion()

func Del

func Del(k string) error

Del delete an element by key

func FindAll

func FindAll() map[string]string

FindAll prints all elements

func Get

func Get(k string) (*string, error)

find an element by key

func GetAlias

func GetAlias() string

func GetCommit

func GetCommit() string

func GetDate

func GetDate() string

func GetVersion

func GetVersion() string

func InitAlias

func InitAlias() error

func InitConfig

func InitConfig() error

func InitDb

func InitDb() (*bolt.DB, error)

func PopulateAlias

func PopulateAlias() error

func Update

func Update(k string, v string) error

Update an element by key

func UpdateVersion

func UpdateVersion() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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