mirror of
https://github.com/hanzoai/pack.git
synced 2026-09-30 23:43:13 +00:00
22 lines
246 B
Go
22 lines
246 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
cowsay "github.com/Code-Hex/Neo-cowsay/v2"
|
|
)
|
|
|
|
func main() {
|
|
say, err := cowsay.Say(
|
|
"Hello from Go",
|
|
cowsay.Type("default"),
|
|
cowsay.BallonWidth(40),
|
|
)
|
|
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
|
|
fmt.Println(say)
|
|
}
|