v0.0.508
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 4m25s
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 4m25s
This commit is contained in:
parent
8dcd8a270a
commit
3320a9c19d
@ -1,5 +1,5 @@
|
||||
package goext
|
||||
|
||||
const GoextVersion = "0.0.507"
|
||||
const GoextVersion = "0.0.508"
|
||||
|
||||
const GoextVersionTimestamp = "2024-08-25T15:41:17+0200"
|
||||
const GoextVersionTimestamp = "2024-08-25T17:36:20+0200"
|
||||
|
15
langext/io.go
Normal file
15
langext/io.go
Normal file
@ -0,0 +1,15 @@
|
||||
package langext
|
||||
|
||||
import "io"
|
||||
|
||||
type nopCloser struct {
|
||||
io.Writer
|
||||
}
|
||||
|
||||
func (n nopCloser) Close() error {
|
||||
return nil // no op
|
||||
}
|
||||
|
||||
func WriteNopCloser(w io.Writer) io.WriteCloser {
|
||||
return nopCloser{w}
|
||||
}
|
Loading…
Reference in New Issue
Block a user