Start on group store

This commit is contained in:
Jon Staab
2025-09-26 09:39:24 -07:00
parent f8a7b003c1
commit 174e1a361f
5 changed files with 337 additions and 10 deletions
+3
View File
@@ -15,6 +15,7 @@ type Role struct {
}
type Config struct {
Host string
Self struct {
Name string `toml:"name"`
Icon string `toml:"icon"`
@@ -50,6 +51,8 @@ func LoadConfig(hostname string) (*Config, error) {
return nil, fmt.Errorf("failed to parse config file %s: %w", path, err)
}
config.Host = hostname
return &config, nil
}