code: func Greeting(r *rand.Rand, name string) string {
  	var n int
  	if len(name) == 0 {
  		n = r.Intn(3)
  		switch n {
  		case 0:
  			return fmt.Sprintf("Hi, %s.", name)
  		case 1:
  			return fmt.Sprintf("Hello, %s.", name)
  		case 2:
  			return fmt.Sprintf("Hi there, %s.", name)
  		}
  	} else {
  		n = r.Intn(3)
  		switch n {
  		case 0:
  			return "Hi. How can I help you?"
  		case 1:
  			return "Hello. What can I do for you?"
  		}
  	}
  	log.Debug("greeting failed to return a response")
  	return ""
  }
docs: // Greeting returns a randomized greeting.