mirror of
https://github.com/hanzoai/pack.git
synced 2026-09-30 23:43:13 +00:00
* fix: respect mise go version in go provider * test: assert against specific go version * test: snapshot update * build: trust all mise.toml files during setup * ci: trust all mise.toml before running unit tests * test: require exact version in go project output * Revert "ci: trust all mise.toml before running unit tests" This reverts commit e6994b32fb6b168a4170c14ace20ebf07aea8b67. * test: split test into two cases * test: specify non-default go version to assert against * test: snapshot update * test: fix go version mismatch * fixup! test: fix go version mismatch * build: we don't need the trust script to run our tests
23 lines
292 B
Go
23 lines
292 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"runtime"
|
|
|
|
cowsay "github.com/Code-Hex/Neo-cowsay/v2"
|
|
)
|
|
|
|
func main() {
|
|
say, err := cowsay.Say(
|
|
fmt.Sprintf("Hello from Go %s", runtime.Version()),
|
|
cowsay.Type("default"),
|
|
cowsay.BallonWidth(40),
|
|
)
|
|
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
|
|
fmt.Println(say)
|
|
}
|