summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerrick Anderson <derrick@andersonwebstudio.com>2018-02-13 23:46:49 -0500
committerDerrick Anderson <derrick@andersonwebstudio.com>2018-02-13 23:46:49 -0500
commite43f381764bdf29117760b26c88fd37b716e67b2 (patch)
tree14e8058293bf6b0a6fb7ab84df7c92dbd2beb96b
parent4e4535bda9c7ce8609a2101037cda9a29407756c (diff)
downloadchat-e43f381764bdf29117760b26c88fd37b716e67b2.tar.gz
chat-e43f381764bdf29117760b26c88fd37b716e67b2.tar.bz2
chat-e43f381764bdf29117760b26c88fd37b716e67b2.zip
gofmt
-rw-r--r--app/app.go2
-rw-r--r--app/post_test.go2
-rw-r--r--cmd/platform/server.go2
-rw-r--r--cmd/platform/server_test.go2
4 files changed, 4 insertions, 4 deletions
diff --git a/app/app.go b/app/app.go
index 205b9b0b1..636f0a428 100644
--- a/app/app.go
+++ b/app/app.go
@@ -154,7 +154,7 @@ func New(options ...Option) (outApp *App, outErr error) {
if err := app.ensureAsymmetricSigningKey(); err != nil {
return nil, errors.Wrapf(err, "unable to ensure asymmetric signing key")
}
-
+
app.initJobs()
app.initBuiltInPlugins()
diff --git a/app/post_test.go b/app/post_test.go
index ebe973270..2472e40c6 100644
--- a/app/post_test.go
+++ b/app/post_test.go
@@ -345,4 +345,4 @@ func TestMakeOpenGraphURLsAbsolute(t *testing.T) {
}
})
}
-} \ No newline at end of file
+}
diff --git a/cmd/platform/server.go b/cmd/platform/server.go
index 0421fcc05..1b411cf20 100644
--- a/cmd/platform/server.go
+++ b/cmd/platform/server.go
@@ -93,7 +93,7 @@ func runServer(configFileLocation string, disableConfigWatch bool, interruptChan
l4g.Critical(serverErr.Error())
return serverErr
}
-
+
api4.Init(a, a.Srv.Router, false)
api3 := api.Init(a, a.Srv.Router)
wsapi.Init(a, a.Srv.WebSocketRouter)
diff --git a/cmd/platform/server_test.go b/cmd/platform/server_test.go
index 2b68fc703..15f9a357a 100644
--- a/cmd/platform/server_test.go
+++ b/cmd/platform/server_test.go
@@ -69,4 +69,4 @@ func TestRunServerInvalidConfigFile(t *testing.T) {
err = runServer(unreadableConfigFile.Name(), th.disableConfigWatch, th.interruptChan)
require.Error(t, err)
-} \ No newline at end of file
+}