Update README example

This commit is contained in:
2025-06-15 15:56:05 -04:00
parent 7e2b926431
commit 4d95a5c7c2
+1 -2
View File
@@ -55,12 +55,11 @@ func helloWorld() {
fmt.Println("Hello world")
}`
result, err := ansi.Colorize(inputString, "go")
result, err := ansi.Colorize(inputString, "go", 171)
if err != nil {
fmt.Println("Failed to colorize input: " + err.Error())
os.Exit(1)
}
fmt.Println(result)
}
```