README ¶ spatialite Go driver for libspatialite Install First you must install both sqlite3 and libspatialite C libraries. Then go get -u github.com/briansorahan/spatialite Usage db, err := sql.Open("spatialite", "my.db") Check out the tests to see more example code. Expand ▾ Collapse ▴ Documentation ¶ Overview ¶ Package spatialite is a thin wrapper around https://github.com/mattn/go-sqlite3 that automatically loads the mod_spatialite extension. Index ¶ type Conn type Driver func (d *Driver) Open(name string) (driver.Conn, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Conn ¶ type Conn struct { *sqlite.SQLiteConn } Conn is a spatialite database connection. type Driver ¶ type Driver struct { *sqlite.SQLiteDriver } Driver is the spatialite driver.Driver implementation. func (*Driver) Open ¶ func (d *Driver) Open(name string) (driver.Conn, error) Open opens a new database connection. Source Files ¶ View all Source files driver.go Click to show internal directories. Click to hide internal directories.