Skip to content

Commit

Permalink
make KeyState implement Stringer() (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmenglund committed Nov 6, 2023
1 parent 1f17ba8 commit 2630ada
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions option/api_keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package option

type KeyState string

func (k KeyState) String() string { return string(k) }

const (
KeyActive KeyState = "ACTIVE"
KeySuspended KeyState = "SUSPENDED"
Expand Down

0 comments on commit 2630ada

Please sign in to comment.