mirror of https://github.com/aldy505/asciitxt.git
docs: wrong description on readme
This commit is contained in:
parent
1ee7ff17f9
commit
559192bae5
12
README.txt
12
README.txt
|
@ -28,19 +28,19 @@ Just a simple utility for creating...
|
|||
|
||||
The usage is pretty straight forward, on your Go file:
|
||||
|
||||
import "github.com/aldy505/asciitxt"
|
||||
import "github.com/aldy505/asciitxt"
|
||||
|
||||
func main() {
|
||||
output := asciitxt.New("Hello world", asciitxt.Standard)
|
||||
func main() {
|
||||
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