```bash
gpg --edit-key <KEY ID>
# In the interactive prompt:
-gpg> sign
+gpg> trust
gpg> save
```
```go
var msg string
+var msg = "Hello, world!"
+var msg string = "Hello, world!"
+var x, y int
+var x, y int = 1, 2
+var x, msg = 1, "Hello, world!"
msg = "Hello"
```
+#### Declaration list
+
+``` go
+var (
+ x int
+ y = 20
+ z int = 30
+ d, e = 40, "Hello"
+ f, g string
+)
+```
+
#### Shortcut of above (Infers type)
```go
msg := "Hello"
+x, msg := 1, "Hello"
```
### Constants
```go
const Phi = 1.618
+const Size int64 = 1024
+const x, y = 1, 2
+const (
+ Pi = 3.14
+ E = 2.718
+)
+const (
+ Sunday = iota
+ Monday
+ Tuesday
+ Wednesday
+ Thursday
+ Friday
+ Saturday
+)
```
Constants can be character, string, boolean, or numeric values.
### Declaring multiple state variables
```jsx
+import React, { useState } from 'react';
+
function ExampleWithManyStates() {
// Declare multiple state variables!
const [age, setAge] = useState(42);
#### Document
-| Shortcut | Description |
-| --- | --- |
-| `gg` | First line |
-| `G` | Last line |
-| `:n` | Go to line `n` |
-| `nG` | Go to line `n` |
+| Shortcut | Description |
+| --- | --- |
+| `gg` | First line |
+| `G` | Last line |
+| `:{number}` | Go to line `{number}` |
+| `{number}G` | Go to line `{number}` |
+| `{number}j` | Go down `{number}` lines |
+| `{number}k` | Go up `{number}` lines |
{: .-shortcuts}
#### Window