docs/go-cheatsheet.md

287 B

go (golang) cheatsheet

testing

t.Logf("%#v", eim)

Outputs types with keys, viz:

    inner_test.go:17: &message.InnerMessage{
        ours:(*message.InnerJSONStruct)(nil),
        dstPubKey:(*cbk.CryptoBoxKey)(nil),
        srcPrivKey:(*cbk.CryptoBoxKey)(nil)}