aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/launchpad/launchpad.go
diff options
context:
space:
mode:
authorCyril Roelandt <tipecaml@gmail.com>2018-12-08 03:58:51 +0100
committerCyril Roelandt <tipecaml@gmail.com>2018-12-16 00:51:22 +0100
commitd6ddf0ef5c64cdb5262bcaba8018e6345ea391a1 (patch)
tree059dc88d40ebf99a83ffea8f669f33df8cfbfbdc /bridge/launchpad/launchpad.go
parent63807382d345d93a939c8ffb8bed04fa2a840f66 (diff)
downloadgit-bug-d6ddf0ef5c64cdb5262bcaba8018e6345ea391a1.tar.gz
Initial Launchpad bridge.
This a just a preview. Not all features are expected to work.
Diffstat (limited to 'bridge/launchpad/launchpad.go')
-rw-r--r--bridge/launchpad/launchpad.go24
1 files changed, 24 insertions, 0 deletions
diff --git a/bridge/launchpad/launchpad.go b/bridge/launchpad/launchpad.go
new file mode 100644
index 00000000..f862f24e
--- /dev/null
+++ b/bridge/launchpad/launchpad.go
@@ -0,0 +1,24 @@
+// Package launchad contains the Launchpad bridge implementation
+package launchpad
+
+import (
+ "github.com/MichaelMure/git-bug/bridge/core"
+)
+
+func init() {
+ core.Register(&Launchpad{})
+}
+
+type Launchpad struct{}
+
+func (*Launchpad) Target() string {
+ return "launchpad-preview"
+}
+
+func (*Launchpad) NewImporter() core.Importer {
+ return &launchpadImporter{}
+}
+
+func (*Launchpad) NewExporter() core.Exporter {
+ return nil
+}