*: add/fix godoc comments to satisfy golint

Fixes things like:
 * exported type/method/function X should have comment or be unexported
 * comment on exported type/method/function X should be of the form "X ..."
   (with optional leading article)

Refs. #213.
This commit is contained in:
Roman Khimov 2019-09-03 17:51:37 +03:00
parent de84e074a2
commit a9b9c9226d
47 changed files with 89 additions and 20 deletions

View file

@ -133,6 +133,7 @@ func (v *VM) LoadFile(path string) error {
return nil
}
// Load initializes the VM with the program given.
func (v *VM) Load(prog []byte) {
// clear all stacks, it could be a reload.
v.istack.Clear()