examples: add most docstrings

This commit is contained in:
Michael McLoughlin
2018-12-27 23:09:44 -08:00
parent 9f5277bf8e
commit 2ffc7d7fd5
18 changed files with 43 additions and 23 deletions

View File

@@ -39,6 +39,7 @@ func makelabels(name string, n int) []string {
func main() {
Package("github.com/mmcloughlin/avo/examples/stadtx")
TEXT("Hash", "func(state *State, key []byte) uint64")
Doc("Hash computes the Stadtx hash.")
statePtr := Load(Param("state"), GP64v())
ptr := Load(Param("key").Base(), GP64v())