From 87b97ca4b2f39240c698596ac14a6d3532f6363d Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sat, 15 Feb 2020 13:45:14 +0100 Subject: bridges: more refactor and cleanup --- bridge/github/github.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bridge/github/github.go') diff --git a/bridge/github/github.go b/bridge/github/github.go index a02d9460..3a99cec7 100644 --- a/bridge/github/github.go +++ b/bridge/github/github.go @@ -30,7 +30,7 @@ var _ core.BridgeImpl = &Github{} type Github struct{} -func (Github) Target() string { +func (*Github) Target() string { return target } @@ -38,11 +38,11 @@ func (g *Github) LoginMetaKey() string { return metaKeyGithubLogin } -func (Github) NewImporter() core.Importer { +func (*Github) NewImporter() core.Importer { return &githubImporter{} } -func (Github) NewExporter() core.Exporter { +func (*Github) NewExporter() core.Exporter { return &githubExporter{} } -- cgit