From 86ade00db6aa419b6df56fdbe82da9ce33da2314 Mon Sep 17 00:00:00 2001 From: Silvan Jegen Date: Sat, 18 Feb 2017 07:49:19 +0100 Subject: Rename interface files --- filter/filterinterface.go | 7 ------- filter/interface.go | 7 +++++++ input/inputinterface.go | 7 ------- input/interface.go | 7 +++++++ output/interface.go | 7 +++++++ output/outputinterface.go | 7 ------- 6 files changed, 21 insertions(+), 21 deletions(-) delete mode 100644 filter/filterinterface.go create mode 100644 filter/interface.go delete mode 100644 input/inputinterface.go create mode 100644 input/interface.go create mode 100644 output/interface.go delete mode 100644 output/outputinterface.go diff --git a/filter/filterinterface.go b/filter/filterinterface.go deleted file mode 100644 index 83d2dfe..0000000 --- a/filter/filterinterface.go +++ /dev/null @@ -1,7 +0,0 @@ -package filter - -import "github.com/Shugyousha/stasher/work" - -type Filter interface { - Filter(*work.Work) *work.Work -} diff --git a/filter/interface.go b/filter/interface.go new file mode 100644 index 0000000..83d2dfe --- /dev/null +++ b/filter/interface.go @@ -0,0 +1,7 @@ +package filter + +import "github.com/Shugyousha/stasher/work" + +type Filter interface { + Filter(*work.Work) *work.Work +} diff --git a/input/inputinterface.go b/input/inputinterface.go deleted file mode 100644 index 1743249..0000000 --- a/input/inputinterface.go +++ /dev/null @@ -1,7 +0,0 @@ -package input - -import "github.com/Shugyousha/stasher/work" - -type Input interface { - Start() chan *work.Work -} diff --git a/input/interface.go b/input/interface.go new file mode 100644 index 0000000..1743249 --- /dev/null +++ b/input/interface.go @@ -0,0 +1,7 @@ +package input + +import "github.com/Shugyousha/stasher/work" + +type Input interface { + Start() chan *work.Work +} diff --git a/output/interface.go b/output/interface.go new file mode 100644 index 0000000..385fe4e --- /dev/null +++ b/output/interface.go @@ -0,0 +1,7 @@ +package output + +import "github.com/Shugyousha/stasher/work" + +type Output interface { + Output(*work.Work) error +} diff --git a/output/outputinterface.go b/output/outputinterface.go deleted file mode 100644 index 385fe4e..0000000 --- a/output/outputinterface.go +++ /dev/null @@ -1,7 +0,0 @@ -package output - -import "github.com/Shugyousha/stasher/work" - -type Output interface { - Output(*work.Work) error -} -- cgit v1.2.3