清理代码
This commit is contained in:
9
pkg/utils/closer.go
Normal file
9
pkg/utils/closer.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package utils
|
||||
|
||||
import "io"
|
||||
|
||||
type NopCloser struct {
|
||||
io.ReadSeeker
|
||||
}
|
||||
|
||||
func (NopCloser) Close() error { return nil }
|
||||
Reference in New Issue
Block a user