Added initial layout files, data sources, and types/settings/etc.

This commit is contained in:
Benjamin A. Shelton 2026-09-09 16:19:41 -06:00
commit 59d6e2940a
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01
2460 changed files with 3466 additions and 0 deletions

View file

@ -0,0 +1,32 @@
package settings
import (
"github.com/pelletier/go-toml"
)
type Setting struct {
API API
DailyScripture DailyScripture `toml:"daily_scripture"`
System System
Translations Translations
}
type API struct {
BaseURL string `toml:"base_url"`
Schedule string
Rotation string
User string
}
type DailyScripture struct {
UserSubmitted bool `toml:"user_submitted"`
}
type System struct {
TimeZone string `toml:"timezone"`
}
type Translations struct {
BaseDir string `toml:"basedir"`
Active []string `toml:"active"`
}