mirror of
https://github.com/KevinMidboe/motdGO.git
synced 2025-10-29 17:50:24 +00:00
Code cleaning, update Readme
This commit is contained in:
@@ -15,7 +15,10 @@ func main() {
|
||||
ascii := figlet4go.NewAsciiRender()
|
||||
|
||||
// Render the string
|
||||
renderStr, _ := ascii.Render(str)
|
||||
renderStr, err := ascii.Render(str)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
// Print the string
|
||||
fmt.Print(renderStr)
|
||||
|
||||
Reference in New Issue
Block a user