{"id":13491303,"url":"https://github.com/go-gorm/postgres","last_synced_at":"2025-04-06T13:08:35.055Z","repository":{"id":36969035,"uuid":"268672651","full_name":"go-gorm/postgres","owner":"go-gorm","description":"GORM PostgreSQL driver","archived":false,"fork":false,"pushed_at":"2025-03-26T03:05:09.000Z","size":194,"stargazers_count":253,"open_issues_count":26,"forks_count":133,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-30T12:06:26.587Z","etag":null,"topics":["gorm","gorm-postgresql-driver","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/go-gorm.png","metadata":{"funding":{"github":["jinzhu"],"patreon":"jinzhu","open_collective":"gorm"},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-02T01:32:31.000Z","updated_at":"2025-03-28T19:50:50.000Z","dependencies_parsed_at":"2023-01-17T10:02:01.436Z","dependency_job_id":"26c5d6c3-0b11-4a3f-822a-4483d78d1942","html_url":"https://github.com/go-gorm/postgres","commit_stats":{"total_commits":167,"total_committers":56,"mean_commits":2.982142857142857,"dds":0.7425149700598803,"last_synced_commit":"0d37bf2e8d63c115d6fb8329cf931e3688cc8f48"},"previous_names":[],"tags_count":59,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-gorm%2Fpostgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-gorm%2Fpostgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-gorm%2Fpostgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/go-gorm%2Fpostgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/go-gorm","download_url":"https://codeload.github.com/go-gorm/postgres/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247485283,"owners_count":20946398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gorm","gorm-postgresql-driver","postgresql"],"created_at":"2024-07-31T19:00:55.430Z","updated_at":"2025-04-06T13:08:35.026Z","avatar_url":"https://github.com/go-gorm.png","language":"Go","funding_links":["https://github.com/sponsors/jinzhu","https://patreon.com/jinzhu","https://opencollective.com/gorm"],"categories":["Go"],"sub_categories":[],"readme":"# GORM PostgreSQL Driver\n\n## Quick Start\n\n```go\nimport (\n  \"gorm.io/driver/postgres\"\n  \"gorm.io/gorm\"\n)\n\n// https://github.com/jackc/pgx\ndsn := \"host=localhost user=gorm password=gorm dbname=gorm port=9920 sslmode=disable TimeZone=Asia/Shanghai\"\ndb, err := gorm.Open(postgres.Open(dsn), \u0026gorm.Config{})\n```\n\n## Configuration\n\n```go\nimport (\n  \"gorm.io/driver/postgres\"\n  \"gorm.io/gorm\"\n)\n\ndb, err := gorm.Open(postgres.New(postgres.Config{\n  DSN: \"host=localhost user=gorm password=gorm dbname=gorm port=9920 sslmode=disable TimeZone=Asia/Shanghai\", // data source name, refer https://github.com/jackc/pgx\n  PreferSimpleProtocol: true, // disables implicit prepared statement usage. By default pgx automatically uses the extended protocol\n}), \u0026gorm.Config{})\n```\n\n\nCheckout [https://gorm.io](https://gorm.io) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-gorm%2Fpostgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgo-gorm%2Fpostgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgo-gorm%2Fpostgres/lists"}