ContainerImage.Pinniped/pkg/hello/hello.go

19 lines
287 B
Go

/*
Copyright 2020 VMware, Inc.
SPDX-License-Identifier: Apache-2.0
*/
package hello
type HelloSayer interface {
SayHello() string
}
type helloSayerImpl struct{}
func (helloSayerImpl) SayHello() string { return "hello" }
func NewHelloSayer() HelloSayer {
return helloSayerImpl{}
}