🛠 Add static analysis
This commit is contained in:
parent
931f75500f
commit
d6546e5ff9
3 changed files with 31 additions and 8 deletions
2
app.go
2
app.go
|
|
@ -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,
|
||||
|
|
|
|||
Reference in a new issue