code: func ipAddrFromRemoteAddr(s string) string {
  	idx := strings.LastIndex(s, ":")
  	if idx == -1 {
  		return s
  	}
  	return s[:idx]
  }
docs: // Request.RemoteAddress contains port, which we want to remove i.e.:
  // "[::1]:58292" => "[::1]"