mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-06 13:36:54 +00:00
14 lines
216 B
Go
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{}
|
|
}
|