chore: apply appropriate GoDoc syntax to deprecated items

This commit is contained in:
Christian Rocha
2022-11-17 10:41:13 -05:00
parent eb09d7539c
commit 30c01cabdc
6 changed files with 13 additions and 14 deletions
+1 -1
View File
@@ -231,7 +231,7 @@ func New(items []Item, delegate ItemDelegate, width, height int) Model {
// NewModel returns a new model with sensible defaults.
//
// Deprecated. Use New instead.
// Deprecated: use [New] instead.
var NewModel = New
// SetFilteringEnabled enables or disables filtering. Note that this is different