diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-21 18:23:46 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-21 18:53:44 +0200 |
commit | 921cd18cf98ecfc1f7fa82f57d64f1b1f9077e64 (patch) | |
tree | dfd7fea5be54c6020ed6773fbdefbaeb5cd2a78e /bridge/bridges.go | |
parent | 82eaceffc1d750832a2a66f206749d2dca968cce (diff) | |
download | git-bug-921cd18cf98ecfc1f7fa82f57d64f1b1f9077e64.tar.gz |
bridge: better interfaces, working github configurator
Diffstat (limited to 'bridge/bridges.go')
-rw-r--r-- | bridge/bridges.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bridge/bridges.go b/bridge/bridges.go new file mode 100644 index 00000000..c542903c --- /dev/null +++ b/bridge/bridges.go @@ -0,0 +1,13 @@ +package bridge + +import ( + "github.com/MichaelMure/git-bug/bridge/core" + "github.com/MichaelMure/git-bug/bridge/github" +) + +// Bridges return all known bridges +func Bridges() []*core.Bridge { + return []*core.Bridge{ + core.NewBridge(&github.Github{}), + } +} |