introduce jpictl list, tools.LazyBuffer and updated build system #55

Merged
amery merged 6 commits from pr-amery-list into main 2024-07-25 20:22:18 +02:00
Showing only changes of commit f0cef6c19f - Show all commits
+9
View File
@@ -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()
}
}