package
1.12.2
Repository: https://github.com/valentin-kaiser/go-dbase.git
Documentation: pkg.go.dev

# Functions

NewDefaultConverterFromCodePage returns a new EncodingConverter from a code page mark.
Debug the dbase package If debug is true, debug messages will be printed to the defined io.Writter (default: os.Stdout).
Create a new column with the specified name, data type, length, decimals and nullable flag The length is only used for character, varbinary, varchar, numeric and float data types.
No description provided by the author
NewError creates a new Error.
No description provided by the author
Create a new DBF file with the specified version, configuration and columns Please only use this for development and testing purposes and dont build new applications with it.
OpenDatabase opens a dbase/foxpro database file and all related tables The database file must be a DBC file and the tables must be DBF files and in the same directory as the database.
Opens a dBase database file (and the memo file if needed).
No description provided by the author
Check if the file version is tested.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
W - Blob ([]byte).
C - Character (string).
No description provided by the author
Y - Currency (float64).
No description provided by the author
D - Date (time.Time).
T - DateTime (time.Time).
Not tested.
Not tested.
Not tested.
Database file extension.
Table file extension.
Database container file extension.
No description provided by the author
B - Double (float64).
No description provided by the author
F - Float (float64).
Not tested.
Not tested.
Not tested.
Not tested.
Supported and testet file types - other file types may work but are not tested.
Not tested.
Supported and testet file types - other file types may work but are not tested.
Supported and testet file types - other file types may work but are not tested.
Memo file extension.
G - General (string).
No description provided by the author
I - Integer (int32).
Label file extension.
L - Logical (bool).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
M - Memo (string).
No description provided by the author
No description provided by the author
Menu file extension.
No description provided by the author
No description provided by the author
N - Numeric (int64).
P - Picture (string).
Project file extension.
Report file extension.
Form file extension.
No description provided by the author
Q - Varbinary ([]byte).
V - Varchar (string).
Visual class library file extension.

# Variables

No description provided by the author
Returned when the row pointer is attempted to be moved before the first row.
Returned when the end of a dBase database file is reached.
Returned when the read of a row or column did not finish.
No description provided by the author
Returned when an invalid column position is used (x<1 or x>number of columns).
No description provided by the author
Returned when a file operation is attempted on a non existent file.
Returned when an invalid data type is used.

# Structs

Column is a struct containing the column information.
Config is a struct containing the configuration for opening a Foxpro/dbase databse or table.
No description provided by the author
No description provided by the author
Error is a wrapper for errors that occur in the dbase package.
Field is a row data field.
File is the main struct to handle a dBase file.
GenericIO implements the IO interface for generic io.ReadWriteSeeker.
Containing DBF header information like dBase FileType, last change and rows count.
The raw header of the Memo file.
Modification allows to change the column name or value type of a column when reading the table The TrimSpaces option is only used for a specific column, if the general TrimSpaces option in the config is false.
Row is a struct containing the row Position, deleted flag and data fields.
Table is a struct containing the table columns, modifications and the row pointer.
UnixIO implements the IO interface for unix systems.

# Interfaces

EncodingConverter is an interface for encoding conversion between UTF8 and other encoding.
IO is the interface to work with the DBF file.

# Type aliases

Column flags indicate wether a column is hidden, can be null, is binary or is autoincremented.
DataType defines the possible types of a column.
Allowed file extensions for the different file types.
Supported and testet file versions - other files may work but are not tested The file version check has to be bypassed when opening a file type that is not supported https://learn.microsoft.com/en-us/previous-versions/visualstudio/foxpro/st4a0s68(v=vs.71).
Important byte marker for the dbase file.
Table flags inidicate the type of the table https://learn.microsoft.com/en-us/previous-versions/visualstudio/foxpro/st4a0s68(v=vs.71).