mirror of https://github.com/aldy505/asciitxt.git
docs: wrong description on readme
This commit is contained in:
parent
1ee7ff17f9
commit
559192bae5
|
@ -31,16 +31,16 @@ The usage is pretty straight forward, on your Go file:
|
|||
import "github.com/aldy505/asciitxt"
|
||||
|
||||
func main() {
|
||||
output := asciitxt.New("Hello world", asciitxt.Standard)
|
||||
output := asciitxt.New("Hello world")
|
||||
|
||||
// or
|
||||
|
||||
output = asciitxt.WithConfig("Hello world", &asciitxt.Config{
|
||||
Style: asciitxt.Standard,
|
||||
Style: asciitxt.StyleStandard,
|
||||
})
|
||||
}
|
||||
|
||||
What's the asciitxt.Standard, you asked.
|
||||
What's the asciitxt.StyleStandard, you asked.
|
||||
|
||||
Well, I thought it would be nice if we could have more than one style.
|
||||
But, for now that's a long term plan.
|
||||
|
|
Loading…
Reference in New Issue