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
+2 -3
View File
@@ -84,8 +84,7 @@ type Model struct {
EchoCharacter rune
Cursor cursor.Model
// Deprecated: use cursor.BlinkSpeed instead.
// This is unused and will be removed in the future.
// Deprecated: use [cursor.BlinkSpeed] instead.
BlinkSpeed time.Duration
// Styles. These will be applied as inline styles.
@@ -150,7 +149,7 @@ func New() Model {
// NewModel creates a new model with default settings.
//
// Deprecated. Use New instead.
// Deprecated: Use [New] instead.
var NewModel = New
// SetValue sets the value of the text input.