-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
53 lines (37 loc) · 1.62 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
_ ____ ____ ___ ___ _____ __ __ _____
/ \ / ___| / ___| |_ _| |_ _| |_ _| \ \/ / |_ _|
/ _ \ \___ \ | | | | | | | | \ / | |
/ ___ \ ___) | | |___ | | | | | | / \ | |
/_/ \_\ |____/ \____| |___| |___| |_| /_/\_\ |_|
Just a simple utility for creating...
_____ _____ __ __ _____
|_ _| | ____| \ \/ / |_ _|
| | | _| \ / | |
| | | |___ / \ | |
|_| |_____| /_/\_\ |_|
_ ___ _ __ _____
| | |_ _| | |/ / | ____|
| | | | | ' / | _|
| |___ | | | . \ | |___
|_____| |___| |_|\_\ |_____|
_____ _ _ ___ ____
|_ _| | | | | |_ _| / ___|
| | | |_| | | | \___ \
| | | _ | | | ___) |
|_| |_| |_| |___| |____/
The usage is pretty straight forward, on your Go file:
import "github.com/aldy505/asciitxt"
func main() {
output := asciitxt.New("Hello world")
// or
output = asciitxt.WithConfig("Hello world", asciitxt.Config{
Style: asciitxt.StyleStandard,
})
}
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.
My current goal is to support most unicode letters and signs.
See Go Package documentation for more details: https://pkg.go.dev/github.com/aldy505/asciitxt
Licensed under MIT License.
See the LICENSE file.