mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-07 04:09:15 +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) {
|
func Feed(app model.AppType, token string) (string, error) {
|
||||||
|
|
||||||
var events model.Events
|
var events model.Events
|
||||||
var modules map[string]model.FeedCollection
|
modules := map[string]model.FeedCollection{}
|
||||||
|
|
||||||
if token == "test" {
|
if token == "test" {
|
||||||
// write down list of modules
|
// write down list of modules
|
||||||
|
Reference in New Issue
Block a user