This repository has been archived on 2025-11-25. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
combluotion-old/config/config.go
Dan Jones e7b88bcc09 Improve Store
Still need to fill out SQLite bootstrap

Also setup plug-in system mechanism
2024-09-14 20:37:51 -05:00

18 lines
293 B
Go

package config
type Config struct {
Name string
Env Env
BaseURL string
Conn ConnSettings
}
type ConnSettings struct {
Store string
DSN string
AdditionalSettings map[string]any
}
func (c Config) Environment() Env {
return ValidEnvOrDev(c.Env)
}