ContainerImage.Pinniped/pkg/hello/hello.go
2020-07-02 19:11:06 -07:00

14 lines
216 B
Go

package hello
type HelloSayer interface {
SayHello() string
}
type helloSayerImpl struct{}
func (helloSayerImpl) SayHello() string { return "hello" }
func NewHelloSayer() HelloSayer {
return helloSayerImpl{}
}