diff --git a/core.go b/core.go index e91266ca..9fe1c516 100644 --- a/core.go +++ b/core.go @@ -2,7 +2,7 @@ package main import ( "github.com/gorilla/sessions" - plg "plugin" + "github.com/hunterlong/statup/plugin" ) type Core struct { @@ -11,7 +11,7 @@ type Core struct { Key string Secret string Version string - Plugins []*plg.Plugin + Plugins []plugin.Info } func SelectCore() (*Core, error) { diff --git a/database.go b/database.go index 70fb2133..71aa1788 100644 --- a/database.go +++ b/database.go @@ -3,10 +3,10 @@ package main import ( "database/sql" "fmt" + "github.com/hunterlong/statup/plugin" _ "github.com/lib/pq" "math/rand" "time" - "github.com/hunterlong/statup/plugin" ) func DbConnection() { diff --git a/html/tmpl/login.html b/html/tmpl/login.html index 53b2699f..34b53be6 100644 --- a/html/tmpl/login.html +++ b/html/tmpl/login.html @@ -52,8 +52,6 @@ - - diff --git a/html/tmpl/plugins.html b/html/tmpl/plugins.html index a3c6eea7..18e944bd 100644 --- a/html/tmpl/plugins.html +++ b/html/tmpl/plugins.html @@ -22,20 +22,24 @@