command/display.go
Function NewDisplay
has 6 return statements (exceeds 4 allowed). Open
Open
func NewDisplay(ctx context.Context, title string, maxSection int) (display *Display, nctx context.Context, err error) {
g, err := gocui.NewGui(gocui.OutputNormal)
if err != nil {
return
Method Display.Layout
has 5 return statements (exceeds 4 allowed). Open
Open
func (d *Display) Layout(g *gocui.Gui) error {
if d.closed {
return fmt.Errorf("Display has been closed already")
}