From 01c6800ae867819e597944817b16c849308da8c4 Mon Sep 17 00:00:00 2001 From: Jannis Mattheis Date: Wed, 21 Mar 2018 17:34:33 +0100 Subject: [PATCH] Move stream to api --- {stream => api/stream}/client.go | 0 {stream => api/stream}/stream.go | 0 {stream => api/stream}/stream_test.go | 0 router/router.go | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) rename {stream => api/stream}/client.go (100%) rename {stream => api/stream}/stream.go (100%) rename {stream => api/stream}/stream_test.go (100%) diff --git a/stream/client.go b/api/stream/client.go similarity index 100% rename from stream/client.go rename to api/stream/client.go diff --git a/stream/stream.go b/api/stream/stream.go similarity index 100% rename from stream/stream.go rename to api/stream/stream.go diff --git a/stream/stream_test.go b/api/stream/stream_test.go similarity index 100% rename from stream/stream_test.go rename to api/stream/stream_test.go diff --git a/router/router.go b/router/router.go index c637972..266c401 100644 --- a/router/router.go +++ b/router/router.go @@ -16,7 +16,7 @@ import ( "github.com/gotify/server/config" "github.com/gotify/server/docs" "github.com/gotify/server/model" - "github.com/gotify/server/stream" + "github.com/gotify/server/api/stream" "github.com/gotify/server/mode" )