Documentation ¶
Index ¶
Constants ¶
View Source
const ( DebugFlag = "debug" HelpFlag = "help" )
Variables ¶
View Source
var ( GroupManagement = CreateGroup("management", "Management Commands:") GroupAdvanced = CreateGroup("advanced", "Advanced Commands:") GroupOther = CreateGroup("other", "Other Commands:") )
View Source
var NotFoundReg = regexp.MustCompile(`model: (.+?) not found`)
Functions ¶
func CheckResponseStatus ¶
func CreateGroup ¶
func InputByFlags ¶
InputByFlags check whether user set flags.
Types ¶
type ErrorResponse ¶
type RetryableError ¶
type RetryableError struct {
// contains filtered or unexported fields
}
func NewRetryableError ¶
func NewRetryableError(msg string) *RetryableError
func (*RetryableError) Error ¶
func (e *RetryableError) Error() string
Click to show internal directories.
Click to hide internal directories.