introduce jpictl list, tools.LazyBuffer and updated build system
#55
@@ -1,2 +1,11 @@
|
||||
// Package tools contains helpers
|
||||
package tools
|
||||
|
||||
import "io"
|
||||
|
||||
// LazyClose closes an [io.Closer] and discards the error
|
||||
func LazyClose(p io.Closer) {
|
||||
if p != nil {
|
||||
_ = p.Close()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user