action
v0.0.0-20140113210106-ec9f9a4fe3cb
github.com/ghthor/database/action
Documentation
pkg.go.dev ↗Variables
ErrInvalidId (4 declarations)
var (
ErrInvalidId = errors.New("invalid id")
ErrInvalidFilename = errors.New("invalid filename")
ErrInvalidFloat = errors.New("invalid float")
ErrInvalidTimeSpan = errors.New("invalid timeSpan")
)
Types
A
type A interface {
IsValid() error
}
Float
type Float struct {
Str string
Native float64
}
Generics
Float.Parse
func (f *Float) Parse() error
Id
type Id struct {
Str string
Native datatype.Id
}
Ids
Id.Parse
func (p *Id) Parse() error
TimeSpan
type TimeSpan struct {
Str string
Hours uint64
Mins uint64
}
Generics
TimeSpan.Parse
func (t *TimeSpan) Parse() error