Help us shape the future of Go! Take the 2026 Go Developer Survey

promptutil

package
v0.197.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL