README.md
hello
A Go library that greets somebody by name.
import "rickub.com/bots-garden/hello"
hello.Greet("Bob") // "Hello, Bob!"
hello.Greet(" Bob ") // "Hello, Bob!" — surrounding whitespace is dropped
hello.Greet("") // "Hello, world!" — an empty name is greeted as the world
Using it from another module
rickub.com serves neither a go-import meta tag nor git over HTTPS, so
go get cannot resolve this path on its own yet. Until it can, depend on a
checkout beside yours — a workspace, which changes no tracked file:
go work init . ../hello
Build and test
go test ./...
go vet ./...