Skip to content

Commit

Permalink
docs: wrong description on readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinaldy Rafli committed Oct 27, 2021
1 parent 1ee7ff1 commit 559192b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

// or
func main() {
output := asciitxt.New("Hello world")
// or

output = asciitxt.WithConfig("Hello world", &asciitxt.Config{
Style: asciitxt.Standard,
})
}
output = asciitxt.WithConfig("Hello world", &asciitxt.Config{
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.
Expand Down

0 comments on commit 559192b

Please sign in to comment.