{"modulePath":"github.com/jonasfranzdev/drone","version":"v0.7.3","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package github\n\n## Functions\n\n```go\nfunc New(opts Opts) (remote.Remote, error)\n```\nNew returns a Remote implementation that integrates with a GitHub Cloud or GitHub Enterprise version control hosting provider.\n\n## Types\n\n```go\ntype Opts struct {\n\tURL         string   // GitHub server url.\n\tContext     string   // Context to display in status check\n\tClient      string   // GitHub oauth client id.\n\tSecret      string   // GitHub oauth client secret.\n\tScopes      []string // GitHub oauth scopes\n\tUsername    string   // Optional machine account username.\n\tPassword    string   // Optional machine account password.\n\tPrivateMode bool     // GitHub is running in private mode.\n\tSkipVerify  bool     // Skip ssl verification.\n\tMergeRef    bool     // Clone pull requests using the merge ref.\n}\n```\nOpts defines configuration options.\n\n","path":"github.com/jonasfranzdev/drone/remote/github","name":"github","synopsis":"","isRedistributable":true}
