Skip to content

corvino/GORM-PostGIS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GORM+PostGIS

A sample project to demonstrate using the Go ORM GORM to interact with PostGIS.

Use GORM customized data types to read and write geography/geometry columns, which can be specified struct tag. Values are turned into geos types.

Example

create.sh and destroy.sh scripts in db can be used to create and destroy the database running on localhost.

The go program writes some sample cities to the database, and then queries for cities around Seattle.

References

About

Example demonstrating using GORM with PostGIS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published