mirror of
https://github.com/abice/go-enum.git
synced 2026-10-28 16:46:59 +08:00
7 lines
224 B
Go
7 lines
224 B
Go
//go:generate ../bin/go-enum --ptr --marshal --flag --nocase --mustparse --sqlnullstr --sql --names --values --nocomments -b example
|
|
|
|
package example
|
|
|
|
// ENUM(pending, running, completed, failed=error)
|
|
type StrState string
|