github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/builtins/types/null/array.go (about) 1 package null 2 3 import ( 4 "github.com/lmorg/murex/lang/stdio" 5 ) 6 7 type arrayWriter struct { 8 writer stdio.Io 9 } 10 11 func newArrayWriter(writer stdio.Io) (stdio.ArrayWriter, error) { 12 w := &arrayWriter{writer: writer} 13 return w, nil 14 } 15 16 func (w *arrayWriter) Write(_ []byte) error { 17 return nil 18 } 19 20 func (w *arrayWriter) WriteString(_ string) error { 21 return nil 22 } 23 24 func (w *arrayWriter) Close() error { return nil }