fileserver working

This commit is contained in:
tsmethurst
2021-04-11 19:53:22 +02:00
parent 7ab9e78b44
commit 2fa5519d55
18 changed files with 480 additions and 133 deletions

View File

@ -63,8 +63,6 @@ func Empty() *Config {
}
}
// loadFromFile takes a path to a yaml file and attempts to load a Config object from it
func loadFromFile(path string) (*Config, error) {
bytes, err := os.ReadFile(path)