From 23c0463916b72870e689ca59acdf30771d076e34 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Tue, 20 Dec 2016 08:34:19 +1300 Subject: [PATCH] Authboss.moduleAttributes -> Authboss.ModuleAttributes --- authboss.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/authboss.go b/authboss.go index fa5faf2..737940f 100644 --- a/authboss.go +++ b/authboss.go @@ -23,7 +23,7 @@ type Authboss struct { Callbacks *Callbacks loadedModules map[string]Modularizer - moduleAttributes AttributeMeta + ModuleAttributes AttributeMeta mux *http.ServeMux } @@ -33,7 +33,7 @@ func New() *Authboss { ab := &Authboss{ Callbacks: NewCallbacks(), loadedModules: make(map[string]Modularizer), - moduleAttributes: make(AttributeMeta), + ModuleAttributes: make(AttributeMeta), } ab.Config.Defaults() return ab @@ -55,7 +55,7 @@ func (a *Authboss) Init(modulesToLoad ...string) error { for _, mod := range a.loadedModules { for k, v := range mod.Storage() { - a.moduleAttributes[k] = v + a.ModuleAttributes[k] = v } }