core

package
v0.0.0-...-917fc08 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBaseDir

func GetBaseDir() (string, error)

func GetDBPath

func GetDBPath(year int) (string, error)

Types

type Config

type Config struct {
	Year int `json:"year"`
}

func LoadConfig

func LoadConfig() (*Config, error)

func (*Config) SaveConfig

func (c *Config) SaveConfig() error

func (*Config) String

func (c *Config) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳