restic/vendor/cloud.google.com/go/internal/readme/testdata/want.md

346 B

This template is for testing snipmd.awk.

Put the first snippet here.

fmt.Println("hello")
x := ...

And now the second. snip:# (second)

if x > 2 {
	...
}

A top-level snippet.

var ErrBad = errors.New("bad")
// A code block that is not included.

And we're done.