In this code, you establish a predetermined value for theRunnersvariable. Bet.Events["one"] = Event{ Name: "first", } The definition ofRunnerswas ambiguous, resulting in it being set tonil. Maps elements are the only immutable elements in structs. It is impossible to reinitialize the map ...