all repos — homestead @ af0c519cbf3c95e808566e41f1cb05fb08ac8208

Code for my website

remove lint errors

Alan Pearce
commit

af0c519cbf3c95e808566e41f1cb05fb08ac8208

parent

0ee2ed4d0743f2f9834090358c9b9b824116f24e

1 file changed, 0 insertions(+), 9 deletions(-)

changed files
M internal/config/config.gointernal/config/config.go
@@ -4,7 +4,6 @@ import (
"io/fs" "log/slog" "net/url" - "os" "github.com/BurntSushi/toml" "github.com/pkg/errors"
@@ -44,14 +43,6 @@ Extra struct {
Headers map[string]string } Menus map[string][]MenuItem -} - -func getEnvFallback(key, fallback string) string { - if value, ok := os.LookupEnv(key); ok { - return value - } else { - return fallback - } } func GetConfig() (*Config, error) {