code: func escapeUnicode(input string) string {
  	//var buffer bytes.Buffer
  	buffer := bytes.NewBufferString("")
  	for _, r := range input {
  		if r > 65535 {
  			// surrogate pair
  			var r1, r2 = utf16.EncodeRune(r)
  			var s = fmt.Sprintf("\\u%x\\u%x", r1, r2)
  			// error always nil https://golang.org/pkg/bytes/#Buffer.WriteString
  			buffer.WriteString(s) // nolint: gas, gosec
  		} else if r > 127 {
  			var s = fmt.Sprintf("\\u%04x", r)
  			// error always nil https://golang.org/pkg/bytes/#Buffer.WriteString
  			buffer.WriteString(s) // nolint: gas, gosec
  		} else {
  			var s = fmt.Sprintf("%c", r)
  			// error always nil https://golang.org/pkg/bytes/#Buffer.WriteString
  			buffer.WriteString(s) // nolint: gas, gosec
  		}
  	}
  	return buffer.String()
  }
docs: // Unicode escape