Documentation ¶ Overview ¶ Package branch allows to perform operations like generating a new branch name Index ¶ func GenerateName(id string, title string, maxLen int) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GenerateName ¶ func GenerateName(id string, title string, maxLen int) (string, error) GenerateName generates a new branch name off of the identifier and title specified. Both the identifier and title must not be blank. Leading hyphens (prefix and suffix) are removed from the name returned. Types ¶ This section is empty. Source Files ¶ View all Source files branch.godoc.go Click to show internal directories. Click to hide internal directories.