mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-07-16 09:38:49 +02:00
feat:#50 fix assignment to nil map (static check)
This commit is contained in:
@ -34,7 +34,7 @@ var FeedDeletedError = fmt.Errorf("feed deleted")
|
||||
func Feed(app model.AppType, token string) (string, error) {
|
||||
|
||||
var events model.Events
|
||||
var modules map[string]model.FeedCollection
|
||||
modules := map[string]model.FeedCollection{}
|
||||
|
||||
if token == "test" {
|
||||
// write down list of modules
|
||||
|
Reference in New Issue
Block a user