# Use Raw String Literals to Avoid Escaping Go supports [raw string literals](https://go.dev/ref/spec#raw_string_lit), which can span multiple lines and include quotes. Use these to avoid hand-escaped strings which are much harder to read.
| Bad | Good |
|---|---|
| ```go wantError := "unknown name:\"test\"" ``` | ```go wantError := `unknown error:"test"` ``` |