summaryrefslogtreecommitdiffstats
path: root/docs/content/en/quick-reference/glossary/interpreted-string-literal.md
blob: a5d2cd326f69e92f07b2d2102786b4e4cf66eb38 (plain) (blame)
1
2
3
4
5
6
---
title: interpreted string literal
reference: https://go.dev/ref/spec#String_literals
---

An _interpreted string literal_ is a character sequences between double quotes, as in "foo". Within the quotes, any character may appear except a newline and an unescaped double quote. The text between the quotes forms the value of the literal, with backslash escapes interpreted.