summaryrefslogtreecommitdiff
path: root/modules.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules.go')
-rw-r--r--modules.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.go b/modules.go
index afe4b38..19d203d 100644
--- a/modules.go
+++ b/modules.go
@@ -20,7 +20,7 @@ type Module struct {
// invoke methods on the returned value.
// It must return a pointer; if not, it
// is converted into one.
- New func() (interface{}, error)
+ New func() interface{}
}
func (m Module) String() string { return m.Name }