Use Raw String Literals to Avoid Escaping
Go supports raw string literals, 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"` ``` |