{"id":31565603,"url":"https://github.com/shogo82148/go-rdsdata","last_synced_at":"2026-04-18T19:32:37.227Z","repository":{"id":264902189,"uuid":"894609640","full_name":"shogo82148/go-rdsdata","owner":"shogo82148","description":"A Go SQL Driver for the Amazon RDS Data API","archived":false,"fork":false,"pushed_at":"2026-02-19T18:50:00.000Z","size":534,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-19T21:41:52.641Z","etag":null,"topics":["aws","rds-database","rds-mysql","rds-postgres"],"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/shogo82148.png","metadata":{"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-26T16:54:01.000Z","updated_at":"2025-11-25T15:11:41.000Z","dependencies_parsed_at":"2025-01-01T15:22:42.639Z","dependency_job_id":"ce552ae0-7ce7-43ce-b7a3-b520b703dc61","html_url":"https://github.com/shogo82148/go-rdsdata","commit_stats":null,"previous_names":["shogo82148/go-rdsdata"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shogo82148/go-rdsdata","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shogo82148%2Fgo-rdsdata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shogo82148%2Fgo-rdsdata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shogo82148%2Fgo-rdsdata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shogo82148%2Fgo-rdsdata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shogo82148","download_url":"https://codeload.github.com/shogo82148/go-rdsdata/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shogo82148%2Fgo-rdsdata/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31982642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T17:30:12.329Z","status":"ssl_error","status_checked_at":"2026-04-18T17:29:59.069Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["aws","rds-database","rds-mysql","rds-postgres"],"created_at":"2025-10-05T07:12:52.419Z","updated_at":"2026-04-18T19:32:37.208Z","avatar_url":"https://github.com/shogo82148.png","language":"Go","readme":"[![test](https://github.com/shogo82148/go-rdsdata/actions/workflows/test.yaml/badge.svg)](https://github.com/shogo82148/go-rdsdata/actions/workflows/test.yaml)\n[![Go Reference](https://pkg.go.dev/badge/github.com/shogo82148/go-rdsdata.svg)](https://pkg.go.dev/github.com/shogo82148/go-rdsdata)\n\n# go-rdsdata\n\nA Go SQL Driver for the Amazon Aurora Serverless data api.\n\n## Synopsis\n\n```go\nimport (\n  \"context\"\n  \"database/sql\"\n  \"log\"\n\n  rdsdata \"github.com/shogo82148/go-rdsdata\"\n)\n\nfunc main() {\n  // Connection settings\n  config := \u0026rdsdata.Config{\n    // The ARN of Aurora Serverless DB cluster or RDS DB instance.\n    ResourceArn: \"arn:aws:rds:ap-northeast-1:123456789012:cluster:xxxxxx\",\n\n    // The ARN of the secret managed by Secrets Manager.\n    SecretArn: \"arn:aws:secretsmanager:ap-northeast-1:123456789012:secret:xxxxxx\",\n\n    // AWS Region\n    AWSRegion: \"ap-northeast-1\",\n  }\n\n  // create a connection pool\n  connector := rdsdata.NewConnector(config)\n  db := sql.OpenDB(connector)\n\n  // You can use it like a general driver for Go.\n  if _, err := db.ExecContext(context.Background(), \"CREATE DATABASE IF NOT EXISTS `test`\"); err != nil {\n    log.Fatal(err)\n  }\n}\n```\n\n## Data Mappings\n\n### MySQL\n\nThe RDS MySQL version supported is 8.0. Driver parity is tested using `github.com/go-sql-driver/mysql`.\n\n| Column Type  | RDS Data API Behavior                                                                                                                                                                |\n| :----------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| Unsigned Int | Not natively supported by the AWS SDK's Data API, and are all converted to the int64 type. As such large integer values may be lossy.                                                |\n| `BIT(M)`     | The `BIT` column type is returned from RDS as a Boolean, preventing the full use of `BIT(M)`. Until (if ever) this is fixed, only `BIT(1)` column values are supported.              |\n| `TINYINT(1)` | Declaring a `TINYINT(1)` in your table will cause the Data API to return a Boolean instead of an integer. Numeric values are only returned by `TINYINT(2)` or greater.               |\n| `BOOLEAN`    | The `BOOLEAN` column type is converted into a `BIT` column by RDS.                                                                                                                   |\n| Booleans     | Boolean marshalling and unmarshalling via `sql.*`, because of the above issues, only works reliably with the `TINYINT(2)` column type. Do not use `BOOLEAN`, `BIT`, or `TINYINT(1)`. |\n\n### PostgreSQL\n\nThe RDS Postgres version supported is 16.6. Driver parity is tested using `github.com/jackc/pgx/v5`.\n\n| Feature       | Limitation                                                                                                                                 |\n| :------------ | :----------------------------------------------------------------------------------------------------------------------------------------- |\n| Unsigned Int  | Not natively supported by the AWS SDK's Data API, and are all converted to the int64 type. As such large integer values may be lossy.      |\n| Complex Types | Postgres complex types - in short anything in [section 8.8](https://www.postgresql.org/docs/10/datatype.html) and after, is not supported. |\n\n## License\n\nMIT\n\n## Prior Works\n\n- \u003chttps://github.com/krotscheck/go-rds-driver\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshogo82148%2Fgo-rdsdata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshogo82148%2Fgo-rdsdata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshogo82148%2Fgo-rdsdata/lists"}