> For the complete documentation index, see [llms.txt](https://blog.yushunchen.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://blog.yushunchen.com/golang-notes/basics/constants.md).

# Constants

Example:

```go
const <constant_name> = value
```

### Escape Sequence

| ESCAPE SEQUENCE | MEANING                                  |
| --------------- | ---------------------------------------- |
| \\\\            | \ character                              |
| \’              | ‘ character                              |
| \”              | ” character                              |
| \\?             | ? character                              |
| \a              | Alert or bell                            |
| \b              | Backspace                                |
| \f              | Form feed                                |
| \n              | Newline                                  |
| \r              | Carriage return                          |
| \t              | Horizontal tab                           |
| \v              | Vertical tab                             |
| \ooo            | Octal number of one to three digits      |
| \xhh . . .      | Hexadecimal number of one or more digits |
