github.com/grantbow/bug@v0.3.1/issues/Implement-golang-io-interfaces-in-Bug-class/Description (about)

     1  The bugs.Bug class should implement some common
     2  go interfaces so that you can easily intergrate
     3  bug with other programs/libraries. In particular,
     4  the interfaces:
     5  
     6  1. io.Writer should append to the bug description
     7  2. io.WriterAt should modify the description
     8  3. io.Reader should print either the bug description
     9     or the full bug list BugIdx style output (not sure
    10     which, maybe have a flag in the bug struct to modify
    11     the two.)
    12  
    13  This would make it much easier to integrate bugs
    14  with logging systems when errors are encounterd by using
    15  ie. io.MultiWriter