#8 delete cobra, add parsing .netrc
This commit is contained in:
@@ -2,6 +2,7 @@ package gogs
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
"git.unistack.org/unistack-org/pkgdash/internal/configcli"
|
||||
"git.unistack.org/unistack-org/pkgdash/internal/modules"
|
||||
@@ -17,15 +18,19 @@ func NewGogs(cfg configcli.Config) *Gogs {
|
||||
}
|
||||
}
|
||||
|
||||
func (g *Gogs) Name() string {
|
||||
return "gogs"
|
||||
}
|
||||
|
||||
func (g *Gogs) RequestOpen(ctx context.Context, branch string, path string, mod modules.Update) error {
|
||||
return nil
|
||||
return fmt.Errorf("implement me")
|
||||
}
|
||||
func (g *Gogs) RequestClose(ctx context.Context, branch string, path string) error {
|
||||
return nil
|
||||
return fmt.Errorf("implement me")
|
||||
}
|
||||
func (g *Gogs) RequestUpdate(ctx context.Context, branch string, path string, mod modules.Update) error {
|
||||
return nil
|
||||
return fmt.Errorf("implement me")
|
||||
}
|
||||
func (g *Gogs) RequestList(ctx context.Context, branch string) (map[string]string, error) {
|
||||
return nil, nil
|
||||
return nil, fmt.Errorf("implement me")
|
||||
}
|
||||
|
Reference in New Issue
Block a user