Files
voidraft/greetservice.go
2025-04-22 22:43:20 +08:00

8 lines
125 B
Go

package main
type GreetService struct{}
func (g *GreetService) Greet(name string) string {
return "Hello " + name + "!"
}