Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrFailReadFile = errors.New("failed to read file") ErrInvalidFixture = errors.New("invalid fixture file format") ErrUnknownFileExt = errors.New("unknown file ext") )
error variables
Functions ¶
func MarshalBigEndian ¶ added in v0.2.0
MarshalBigEndian returns the BigEndian byte encoding of v
Types ¶
type ColumnFamilies ¶
ColumnFamilies represent mapping ColumnFamilies with the fixture
type Columns ¶
type Columns struct { Key string `yaml:"key"` Rows map[string]interface{} `yaml:"rows"` Version Version `yaml:"version"` }
Columns represent mapping Columns with the fixture
type Fixture ¶
type Fixture struct {
// contains filtered or unexported fields
}
Fixture provide fixture methods
type Option ¶ added in v0.2.0
type Option func(*Fixture)
Option represents functionl-option-pattern
func WithMarshaler ¶ added in v0.2.0
WithMarshaler setting the Marshaler
type QueryModelWithYaml ¶
type QueryModelWithYaml struct { Table string `yaml:"table"` ColumnFamilies []ColumnFamilies `yaml:"column_families"` }
QueryModelWithYaml represent fixture yaml file mapper
Click to show internal directories.
Click to hide internal directories.