feat(plugins): polish to plugin page, better handling for reading readme file contents

This commit is contained in:
Torkel Ödegaard
2016-03-13 19:21:44 +01:00
parent 4a3c19c666
commit 581ffb862c
9 changed files with 75 additions and 11 deletions
+3
View File
@@ -43,6 +43,9 @@ type PluginBase struct {
IncludedInAppId string `json:"-"`
PluginDir string `json:"-"`
// cache for readme file contents
Readme []byte `json:"-"`
}
func (pb *PluginBase) registerPlugin(pluginDir string) error {