Documentation ¶ Index ¶ func GetBranch(ctx context.Context, client *ps.Client, org, db string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetBranch ¶ func GetBranch(ctx context.Context, client *ps.Client, org, db string) (string, error) GetBranch returns the database branch. If there is only one branch, it returns the branch immediately. Otherwise the user is prompted to select the branch from a list of existing branches. Types ¶ This section is empty. Source Files ¶ View all Source files branch.go Click to show internal directories. Click to hide internal directories.