suggesting from the golang uber people

This commit is contained in:
Jeff Carr 2024-02-27 23:49:08 -06:00
parent 01c8dd6cf4
commit 73a1babad4
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ type Action struct {
type ActionType int // Add, SetText, Click, Hide, Append, Delete, etc
const (
Add ActionType = iota
Add ActionType = iota + 1
Delete
SetText
AddText

View File

@ -16,7 +16,7 @@ package widget
type WidgetType int // Button, Menu, Checkbox, etc.
const (
Unknown WidgetType = iota
Unknown WidgetType = iota + 1
Root // the master 'root' node of the binary tree
Flag // used to send configuration values to plugins
Window // in certain gui's (ncurses), these are tabs