go-graphite / go-carbon

Simplify make call by omitting redundant arguments SCC-S1019
Anti-pattern
Major
3 occurrences in this check
should use make(chan struct{}) instead
1553		done  chan struct{}
1554		end   chan struct{}
1555	}{
1556		start: make(chan struct{}, 0),1557		done:  make(chan struct{}, 0),
1558		end:   make(chan struct{}, 0),
1559	}
should use make(chan struct{}) instead
1555	}{
1556		start: make(chan struct{}, 0),
1557		done:  make(chan struct{}, 0),
1558		end:   make(chan struct{}, 0),1559	}
1560	defer func() {
1561		// make sure that tindex.applyQuotas ends properly.
should use make(chan struct{}) instead
1554		end   chan struct{}
1555	}{
1556		start: make(chan struct{}, 0),
1557		done:  make(chan struct{}, 0),1558		end:   make(chan struct{}, 0),
1559	}
1560	defer func() {