Documentation ¶
Index ¶
- Variables
- func InitialModel(ghClient *ghapi.GraphQLClient, config Config, mode Mode) model
- func RenderUI(ghClient *ghapi.GraphQLClient, config Config, mode Mode) error
- func RightPadTrim(s string, length int) string
- func Trim(s string, length int) string
- type Config
- type Mode
- type PRDetailSection
- type Pane
- type Repo
- type SourceConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrPRDetailsNotCached = errors.New("PR details were not saved")
)
View Source
var PRDetailsSectionList = []PRDetailSection{ PRMetadata, PRDescription, PRChecks, PRReferences, PRFilesChanged, PRCommits, PRComments, }
Functions ¶
func InitialModel ¶
func InitialModel(ghClient *ghapi.GraphQLClient, config Config, mode Mode) model
func RightPadTrim ¶
Types ¶
type PRDetailSection ¶ added in v1.0.0
type PRDetailSection uint
const ( PRMetadata PRDetailSection = iota PRDescription PRChecks PRReferences PRFilesChanged PRCommits PRComments )
Click to show internal directories.
Click to hide internal directories.