コード例 #1
0
ファイル: context.go プロジェクト: 4shome/go.jiri
// Gerrit returns the Gerrit instance of the context.
func (ctx Context) Gerrit(host string) *gerrit.Gerrit {
	return gerrit.New(ctx.run, host)
}
コード例 #2
0
ファイル: context.go プロジェクト: vanadium/go.jiri
// Gerrit returns the Gerrit instance of the context.
func (ctx Context) Gerrit(host *url.URL) *gerrit.Gerrit {
	return gerrit.New(ctx.NewSeq(), host)
}