github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/lang/stdio/interface_aw.go (about)

     1  package stdio
     2  
     3  // ArrayWriter is a simple interface types can adopt for buffered writes of formatted arrays in structured types (eg JSON)
     4  type ArrayWriter interface {
     5  	Write([]byte) error
     6  	WriteString(string) error
     7  	Close() error
     8  }