func HelloPerson()

in go/helloworld/libs/hello.go [9:14]


func HelloPerson(person string) (string, error) {
	if person == "" {
		return "", fmt.Errorf("person name is empty")
	}
	return fmt.Sprintf("Hello %v!", person), nil
}