From 559192bae53416aef0ae26dd2eb66ad25fc2e721 Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Wed, 27 Oct 2021 21:21:21 +0700 Subject: [PATCH] docs: wrong description on readme --- README.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.txt b/README.txt index 37ba01e..f2fa627 100644 --- a/README.txt +++ b/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) - - // 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.