Documentation ¶
Index ¶
- type DbfField
- type DbfTable
- func (dt *DbfTable) AddBooleanField(fieldName string) (err error)
- func (dt *DbfTable) AddDateField(fieldName string) (err error)
- func (dt *DbfTable) AddFloatField(fieldName string, length uint8) (err error)
- func (dt *DbfTable) AddNewRecord() (newRecordNumber int)
- func (dt *DbfTable) AddNumberField(fieldName string, length uint8) (err error)
- func (dt *DbfTable) AddTextField(fieldName string, length uint8) (err error)
- func (dt *DbfTable) FieldValue(row int, fieldIndex int) (value string)
- func (dt *DbfTable) FieldValueByName(row int, fieldName string) (value string, err error)
- func (dt *DbfTable) Fields() []DbfField
- func (dt *DbfTable) Float64FieldValueByName(row int, fieldName string) (value float64, err error)
- func (dt *DbfTable) GetRowAsSlice(row int) []string
- func (dt *DbfTable) Int64FieldValueByName(row int, fieldName string) (value int64, err error)
- func (dt *DbfTable) NumberOfRecords() int
- func (dt *DbfTable) SaveFile(filename string) (err error)
- func (dt *DbfTable) SetFieldValue(row int, fieldIndex int, value string) (err error)
- func (dt *DbfTable) SetFieldValueByName(row int, fieldName string, value string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbfField ¶
type DbfField struct {
// contains filtered or unexported fields
}
func (*DbfField) SetFieldName ¶
type DbfTable ¶
type DbfTable struct {
// contains filtered or unexported fields
}
func NewFromBytesArray ¶
func NewFromFile ¶
func NewFromReader ¶
func (*DbfTable) AddBooleanField ¶
func (*DbfTable) AddDateField ¶
func (*DbfTable) AddFloatField ¶
func (*DbfTable) AddNewRecord ¶
func (*DbfTable) AddNumberField ¶
func (*DbfTable) AddTextField ¶
func (*DbfTable) FieldValue ¶
func (*DbfTable) FieldValueByName ¶
FieldValueByName retuns the value of a field given row number and fieldName provided
func (*DbfTable) Float64FieldValueByName ¶
Float64FieldValueByName retuns the value of a field given row number and fieldName provided as a float64
func (*DbfTable) GetRowAsSlice ¶
func (*DbfTable) Int64FieldValueByName ¶
Int64FieldValueByName retuns the value of a field given row number and fieldName provided as an int64
func (*DbfTable) NumberOfRecords ¶
NumberOfRecords return number of rows in dbase table
func (*DbfTable) SetFieldValue ¶
Sets field value by name
Click to show internal directories.
Click to hide internal directories.