update README, lots of polish

This commit is contained in:
ari melody 2026-01-30 18:53:09 +00:00
parent 4624c56e54
commit ce836b2d46
Signed by: ari
GPG key ID: CF99829C92678188
11 changed files with 210 additions and 121 deletions

View file

@ -38,7 +38,7 @@ const CONFIG_FILENAME = "config.toml"
func ReadConfig(filename string) (*Config, error) {
cfgBytes, err := os.ReadFile(filename)
if err != nil {
if err == os.ErrNotExist {
if os.IsNotExist(err) {
return nil, nil
}
return nil, fmt.Errorf("failed to open file: %v", err)