mirror of
https://github.com/rclone/rclone.git
synced 2024-12-12 04:04:06 +08:00
31 lines
346 B
Markdown
31 lines
346 B
Markdown
|
This template is for testing snipmd.awk.
|
||
|
|
||
|
Put the first snippet here.
|
||
|
|
||
|
[snip]:# (first)
|
||
|
```go
|
||
|
fmt.Println("hello")
|
||
|
x := ...
|
||
|
```
|
||
|
|
||
|
And now the second.
|
||
|
[snip]:# (second)
|
||
|
```go
|
||
|
if x > 2 {
|
||
|
...
|
||
|
}
|
||
|
```
|
||
|
|
||
|
A top-level snippet.
|
||
|
|
||
|
[snip]:# (top-level)
|
||
|
```go
|
||
|
var ErrBad = errors.New("bad")
|
||
|
```
|
||
|
|
||
|
```go
|
||
|
// A code block that is not included.
|
||
|
```
|
||
|
|
||
|
And we're done.
|