Enable golint part of #14756
pkg/broadcastwriter pkg/graphdb pkg/httputils pkg/ioutils Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
parent
fca8ba94b3
commit
fcb8d8d48e
11 changed files with 60 additions and 32 deletions
|
@ -44,6 +44,7 @@ func (w *BroadcastWriter) Clean() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// New creates a new BroadcastWriter.
|
||||
func New() *BroadcastWriter {
|
||||
return &BroadcastWriter{
|
||||
writers: make(map[io.WriteCloser]struct{}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue