cosmos-sdk/indexer/base/enum.go
Aaron Craelius 74ae427575
feat: indexer base types (#20629)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-06-17 19:10:20 +00:00

11 lines
255 B
Go

package indexerbase
// EnumDefinition represents the definition of an enum type.
type EnumDefinition struct {
// Name is the name of the enum type.
Name string
// Values is a list of distinct values that are part of the enum type.
Values []string
}