mirror of
https://github.com/coder/coder.git
synced 2026-06-04 21:48:22 +00:00
d9da054c9d
* chore: types generated handling readonly slices * add -update flag to update goldens * revert excess gens * fix: update most UI types to account for readonly modifiers * fix: remove accidental mutation from NavBarView * fix: remove mutation warning for BatchUpdateConfirmation stories * fix: remove mutation warning for BactchUpdateConfirmation * fix: format ActiveUserChart * fix: update import to make linter happy * fix: update fmt issue * fix: disable file write lint rule from unit test --------- Co-authored-by: Parkreiner <throwawayclover@gmail.com>
14 lines
170 B
Go
14 lines
170 B
Go
package codersdk
|
|
|
|
type (
|
|
Enum string
|
|
EnumSliceType []Enum
|
|
)
|
|
|
|
const (
|
|
EnumFoo Enum = "foo"
|
|
EnumBar Enum = "bar"
|
|
EnumBaz Enum = "baz"
|
|
EnumQux Enum = "qux"
|
|
)
|