feat: revise API, add README.md, LICENSE
This commit is contained in:
11
output_nop.go
Normal file
11
output_nop.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package script
|
||||
|
||||
type NopWriter struct{}
|
||||
|
||||
func NewNopWriter() *NopWriter {
|
||||
return new(NopWriter)
|
||||
}
|
||||
|
||||
func (d *NopWriter) Write([]string) error {
|
||||
return nil
|
||||
}
|
Reference in New Issue
Block a user