github.com/octohelm/storage@v0.0.0-20240516030302-1ac2cc1ea347/pkg/enumeration/enum.go (about)

     1  package enumeration
     2  
     3  type CanEnumValues interface {
     4  	EnumValues() []any
     5  }
     6  
     7  // DriverValueOffset
     8  // sql value maybe have offset from const value in go
     9  type DriverValueOffset interface {
    10  	Offset() int
    11  }