progress: remove 'var _' decls
This commit is contained in:
parent
589dffbefa
commit
17b601eb9d
@ -14,8 +14,6 @@ type BodyWithCallback struct {
|
||||
ReadSeekCloser
|
||||
}
|
||||
|
||||
var _ ReadSeekCloser = (*BodyWithCallback)(nil)
|
||||
|
||||
func NewByteBodyWithCallback(by []byte, totalSize int64, cb CopyCallback) *BodyWithCallback {
|
||||
return NewBodyWithCallback(NewByteBody(by), totalSize, cb)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user