7 lines
146 B
Go
7 lines
146 B
Go
package tui
|
|
|
|
import "fmt"
|
|
|
|
func (m model) View() string {
|
|
return "Counter: " + fmt.Sprintf("%d", m.count) + "\n[↑/↓ to change, q to quit]"
|
|
}
|