printer/plainprinter.go
changeset 265 05c40b36d3b2
parent 241 e77dad242f4c
child 268 4dd196a4ee7c
equal deleted inserted replaced
264:8f478162d991 265:05c40b36d3b2
     1 // Copyright © 2017-2018 Mikael Berthe <mikael@lilotux.net>
     1 // Copyright © 2017-2023 Mikael Berthe <mikael@lilotux.net>
     2 //
     2 //
     3 // Licensed under the MIT license.
     3 // Licensed under the MIT license.
     4 // Please see the LICENSE file is this directory.
     4 // Please see the LICENSE file is this directory.
     5 
     5 
     6 package printer
     6 package printer
    10 	"io"
    10 	"io"
    11 	"os"
    11 	"os"
    12 	"reflect"
    12 	"reflect"
    13 	"time"
    13 	"time"
    14 
    14 
    15 	"github.com/McKael/madon/v2"
    15 	"github.com/McKael/madon/v3"
    16 	"github.com/McKael/madonctl/printer/html2text"
    16 	"github.com/McKael/madonctl/printer/html2text"
    17 )
    17 )
    18 
    18 
    19 // PlainPrinter is the default "plain text" printer
    19 // PlainPrinter is the default "plain text" printer
    20 type PlainPrinter struct {
    20 type PlainPrinter struct {