Skip to content

Commit bd2a5b0

Browse files
authored
fix: golangci-lint 2 fixes (#769)
1 parent cce8481 commit bd2a5b0

File tree

13 files changed

+33
-8
lines changed

13 files changed

+33
-8
lines changed

bubbles.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
// Package bubbles provides some components for Bubble Tea applications. These
2+
// components are used in production in Glow, Charm and many other
3+
// applications.
14
package bubbles

cursor/cursor.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package cursor provides cursor functionality for Bubble Tea applications.
12
package cursor
23

34
import (

filepicker/filepicker.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Package filepicker provides a file picker component for Bubble Tea
2+
// applications.
13
package filepicker
24

35
import (

help/help.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package help provides a simple help view for Bubble Tea applications.
12
package help
23

34
import (

list/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ func (m *Model) SetFilterText(filter string) {
289289
m.updateKeybindings()
290290
}
291291

292-
// Helper method for setting the filtering state manually.
292+
// SetFilterState allows setting the filtering state manually.
293293
func (m *Model) SetFilterState(state FilterState) {
294294
m.Paginator.Page = 0
295295
m.cursor = 0

progress/progress.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package progress provides a simple progress bar for Bubble Tea applications.
12
package progress
23

34
import (

spinner/spinner.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package spinner provides a spinner component for Bubble Tea applications.
12
package spinner
23

34
import (

table/table.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Package table provides a simple table component for Bubble Tea applications.
12
package table
23

34
import (

textarea/memoization/memoization.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Package memoization is an internal package that provides a simple memoization
2+
// for text area.
13
package memoization
24

35
import (

textarea/textarea.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Package textarea provides a multi-line text input component for Bubble Tea
2+
// applications.
13
package textarea
24

35
import (

0 commit comments

Comments
 (0)