*: enable godot linter and fix all its warnings

It's important for NeoGo to have clean documentation. No functional changes.
This commit is contained in:
Roman Khimov 2021-05-12 23:17:03 +03:00
parent 3fdba9265f
commit 9d2712573f
60 changed files with 127 additions and 126 deletions

View file

@ -281,7 +281,7 @@ var _ = printNode
// This function is unused, but is helpful for debugging
// as it provides more readable Trie representation compared to
// `spew.Dump()`
// `spew.Dump()`.
func printNode(prefix string, n Node) {
switch tn := n.(type) {
case *HashNode: