🛠 Add static analysis

This commit is contained in:
Dan Jones 2024-09-14 17:34:47 -05:00
commit d6546e5ff9
3 changed files with 31 additions and 8 deletions

2
app.go
View file

@ -27,7 +27,7 @@ type App struct {
func NewApp(ver string, conf config.Config, db store.Store) (*App, error) {
if conf.BaseURL == "" {
return nil, errors.New("Missing BaseURL")
return nil, errors.New("missing BaseURL")
}
app := App{
version: ver,