hugo/docs/content/en/quick-reference/glossary/raw-string-literal.md
2025-02-13 10:40:34 +01:00

6 lines
409 B
Markdown

---
title: raw string literal
reference: https://go.dev/ref/spec#String_literals
---
A _raw string literal_ is a character sequences between backticks, as in \`bar\`. Within the backticks, any character may appear except a backtick. Backslashes have no special meaning and the string may contain newlines. Carriage return characters (`\r`) inside raw string literals are discarded from the raw string value.