Files
Michael BiancoandGitHub 91d6ab2fa8 feat: respect go version specified by mise (#300)
* 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
2025-11-11 21:00:34 -07:00

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)
}