Documentation ¶
Overview ¶
Package docs exercises the documentation features of golang 1.19 and above at the package documentation level.
This is a heading ¶
This heading has a paragraph with a reference to the standard library math/rand as well as a function in the file Func, a type Type, a type's function Type.Func, a non-standard library package [golang.org/x/crypto@v0.5.0/bcrypt.Cost], an external link Outside Link and a [broken link].
It also has a numbered list:
- First
- Second
- Third
Plus one with blank lines:
First
Second
Third
Non-numbered lists
- First another line
- Second
- Third
Plus blank lines:
First
another paragraph
Second
Third
And a golang code block:
func GolangCode(t int) int { return t + 1 }
And a random code block:
something preformatted in a random way
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.