ContainerImage.Pinniped/pkg/hello/hello.go

14 lines
216 B
Go
Raw Normal View History

2020-07-03 00:05:59 +00:00
package hello
type HelloSayer interface {
SayHello() string
}
type helloSayerImpl struct{}
func (helloSayerImpl) SayHello() string { return "hello" }
2020-07-03 00:05:59 +00:00
func NewHelloSayer() HelloSayer {
return helloSayerImpl{}
}