Versions in this module Expand all Collapse all v1 v1.18.0 Aug 11, 2023 v1.17.0 Apr 3, 2023 v1.16.0 Dec 30, 2022 v1.15.0 Sep 30, 2022 v1.14.0 Aug 18, 2022 v1.13.0 Jul 8, 2022 v1.12.0 May 31, 2022 v1.11.0 Apr 21, 2022 Changes in this version type ListOpt + TargeBr string v1.9.9 Oct 24, 2023 Changes in this version + const EnterpriseKind + const GroupKind + const OrgKind + const UserKind + type Branch struct + Merged bool + Name string + Protected bool + type CodeHostClient interface + ListBranches func(opt ListOpt) ([]*Branch, error) + ListCommits func(opt ListOpt) ([]*Commit, error) + ListNamespaces func(keyword string) ([]*Namespace, error) + ListProjects func(opt ListOpt) ([]*Project, error) + ListPrs func(opt ListOpt) ([]*PullRequest, error) + ListTags func(opt ListOpt) ([]*Tag, error) + type Commit struct + Author string + CreatedAt int64 + ID string + Message string + type ListOpt struct + Key string + Namespace string + NamespaceType string + Page int + PerPage int + ProjectName string + TargetBranch string + type Namespace struct + Kind string + Name string + Path string + ProjectUUID string + type Project struct + DefaultBranch string + Description string + ID int + Name string + Namespace string + RepoID string + RepoUUID string + type PullRequest struct + AuthorUsername string + Base string + CreatedAt int64 + ID int + Number int + ProjectID int + SourceBranch string + State string + TargetBranch string + Title string + UpdatedAt int64 + User string + type Tag struct + Message string + Name string + TarballURL string + ZipballURL string Other modules containing this package github.com/koderover/zadig/v2