Skip to content

Commit

Permalink
Verify Model interface compliance (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
vzvu3k6k authored Jun 30, 2022
1 parent 727b86a commit c614afe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions model.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ type Model struct {
table table.Model
}

var _ tea.Model = (*Model)(nil)

func NewModel(commits Commits) Model {
w, h, err := term.GetSize(int(os.Stdout.Fd()))
if err != nil {
Expand Down

0 comments on commit c614afe

Please sign in to comment.