mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-04-15 07:06:45 +00:00
14 lines
218 B
Go
14 lines
218 B
Go
package hello
|
|
|
|
type HelloSayer interface {
|
|
SayHello() string
|
|
}
|
|
|
|
type helloSayerImpl struct{}
|
|
|
|
func (helloSayerImpl) SayHello() string { return "goodbye" }
|
|
|
|
func NewHelloSayer() HelloSayer {
|
|
return helloSayerImpl{}
|
|
}
|