From 0925899cee9362cf09e982487bd480e2b09041f4 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 11 Nov 2018 10:22:47 -0800 Subject: Move API middleware and routes to api package --- api/handler.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 api/handler.go (limited to 'api/handler.go') diff --git a/api/handler.go b/api/handler.go new file mode 100644 index 0000000..8585dcd --- /dev/null +++ b/api/handler.go @@ -0,0 +1,15 @@ +// Copyright 2017 Frédéric Guillot. All rights reserved. +// Use of this source code is governed by the Apache 2.0 +// license that can be found in the LICENSE file. + +package api // import "miniflux.app/api" + +import ( + "miniflux.app/reader/feed" + "miniflux.app/storage" +) + +type handler struct { + store *storage.Storage + feedHandler *feed.Handler +} -- cgit v1.2.3