Skip to content

Commit

Permalink
fix: Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
HRemonen committed Dec 6, 2023
1 parent 1d1809c commit 6bf8211
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
14 changes: 0 additions & 14 deletions pkg/prompt/item.go

This file was deleted.

8 changes: 7 additions & 1 deletion pkg/prompt/prompt.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@ Copyright © 2023 HENRI REMONEN <henri@remonen.fi>
*/
package prompt

// prompt represents a promptui prompt object used for user input.
// Item represents an item with an ID referring to a certain item in a multiselect prompt
type Item struct {
ID string
IsSelected bool
}

// Prompt represents a promptui prompt object used for user input.
type Prompt struct {
Label string
Items []*Item
Expand Down

0 comments on commit 6bf8211

Please sign in to comment.