config

package
v0.0.0-...-243689a Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package config encapsulates app config

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DBPath

func DBPath(opts map[string]interface{}, platform string) (string, error)

DBPath returns the appropriate database location for the platform.

Types

type Config

type Config struct {
	gorm.Model
	Name  string `gorm:"unique"`
	Value string
}

Config models a configuration value

Jump to

Keyboard shortcuts

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