append() vereinheitlicht

This commit is contained in:
Jason Streifling 2023-11-01 11:16:25 +01:00
parent c1b9982533
commit 6ca11ba3fb

View File

@ -29,7 +29,7 @@ func NewMux() *Mux {
func (mux *Mux) HandleSessions(db *data.DB, cs <-chan *Session, ss *[]*Session) { func (mux *Mux) HandleSessions(db *data.DB, cs <-chan *Session, ss *[]*Session) {
for s := range cs { for s := range cs {
(*ss) = append(*ss, s) (*ss) = append((*ss), s)
participantChan := make(chan *BriefingParticipant) participantChan := make(chan *BriefingParticipant)
questionIDs := make([]string, 4) questionIDs := make([]string, 4)