diff options
Diffstat (limited to 'bridge/github/github.go')
-rw-r--r-- | bridge/github/github.go | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/bridge/github/github.go b/bridge/github/github.go index 45954e23..4f7a3b94 100644 --- a/bridge/github/github.go +++ b/bridge/github/github.go @@ -1,13 +1,19 @@ package github import ( + "fmt" + "github.com/MichaelMure/git-bug/bridge/core" "github.com/MichaelMure/git-bug/cache" ) +func init() { + core.Register(&Github{}) +} + type Github struct{} -func (*Github) Name() string { +func (*Github) Target() string { return "github" } @@ -22,9 +28,15 @@ func (*Github) Exporter() core.Exporter { type githubImporter struct{} func (*githubImporter) ImportAll(repo *cache.RepoCache, conf core.Configuration) error { - panic("implement me") + fmt.Println(conf) + fmt.Println("IMPORT ALL") + + return nil } func (*githubImporter) Import(repo *cache.RepoCache, conf core.Configuration, id string) error { - panic("implement me") + fmt.Println(conf) + fmt.Println("IMPORT") + + return nil } |