Browse Source

doc: Improve comment

master2
Matthew Holt 1 year ago
parent
commit
f980170909
No known key found for this signature in database GPG Key ID: 2A349DD577D586A5
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      modules.go

+ 6
- 1
modules.go View File

@ -65,7 +65,12 @@ type ModuleInfo struct {
// New returns a pointer to a new, empty
// instance of the module's type. This
// function must not have any side-effects.
// method must not have any side-effects,
// and no other initialization should
// occur within it. Any initialization
// of the returned value should be done
// in a Provision() method (see the
// Provisioner interface).
New func() Module
}


Loading…
Cancel
Save