(token string)
| 3 | type GithubOption func(*SCM) error |
| 4 | |
| 5 | func GithubToken(token string) GithubOption { |
| 6 | return func(s *SCM) error { |
| 7 | return s.setToken(token) |
| 8 | } |
| 9 | } |
| 10 | |
| 11 | func GithubBaseURL(baseuri string) GithubOption { |
| 12 | return func(s *SCM) error { |