tvl-depot/tools/gotest/lib.go
Vincent Ambo 1619f58d78 feat(tools): Add 'gotest' program to demonstrate pkgs.buildGo
This is a tiny program that does nothing but exists to demonstrate
pkgs.buildGo by building a program that depends on a local library as
well as a protobuf definition.
2019-11-22 16:28:22 +00:00

11 lines
137 B
Go

package somelib
import "fmt"
func Name() string {
return "edef"
}
func Greet(s string) string {
return fmt.Sprintf("Hello %s", s)
}