Documentation ¶
Index ¶
- Constants
- func Ask(prompt string, options ...AskOption) (answer string, err error)
- func AskVar(prompt string, v *string, options ...AskOption) (err error)
- func AsteriskStr(str string) string
- func GetPureServiceName(name string) string
- func IsPRMerged(cli *github.Client, ctx context.Context, owner, repo string, number int) (merged bool, mergedAt time.Time, err error)
- func IsPublishedService(service string) bool
- func MatchServiceName(srcName, target string) bool
- func WriteTable(data [][]string, cols ...string)
- type AskOption
- type Factory
Constants ¶
View Source
const ( IssueFieldKeyServiceList = "customfield_12300" ServicePublishedMark = "(已发布)" )
Variables ¶
This section is empty.
Functions ¶
func AsteriskStr ¶
func GetPureServiceName ¶
func IsPRMerged ¶
func IsPublishedService ¶
func MatchServiceName ¶
func WriteTable ¶
Types ¶
type AskOption ¶
type AskOption func(opt *askOptions)
func WithAskDefaultValue ¶
func WithAskPassword ¶
Click to show internal directories.
Click to hide internal directories.