append() vereinheitlicht
This commit is contained in:
parent
c1b9982533
commit
6ca11ba3fb
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user