https://github.com/aereal/go-aws-timestream-driver
Go database/sql driver package for Amazon Timestream
https://github.com/aereal/go-aws-timestream-driver
amazon-timestream database go golang
Last synced: about 1 month ago
JSON representation
Go database/sql driver package for Amazon Timestream
- Host: GitHub
- URL: https://github.com/aereal/go-aws-timestream-driver
- Owner: aereal
- License: mit
- Created: 2020-11-09T09:00:13.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-26T13:43:57.000Z (about 3 years ago)
- Last Synced: 2025-04-01T11:49:21.695Z (about 2 months ago)
- Topics: amazon-timestream, database, go, golang
- Language: Go
- Homepage:
- Size: 114 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![CI][ci-status]
[![PkgGoDev][pkg-go-dev-badge]][pkg-go-dev]# go-aws-timestream-driver
```sh
go get github.com/aereal/go-aws-timestream-driver
```## Usage
```go
import (
"database/sql""github.com/aereal/go-aws-timestream-driver"
)func main() {
sql.Open(timestreamdriver.DriverName, "awstimestream:///")
}
```See also Data Source Name format section.
## Data Source Name format
In URI template normative definition:
```
awstimestream://{customEndpointHost}/{?region,accessKeyID,secretAccessKey,enableXray}
```Example:
```
awstimestream://custom-endpoint.example/?region=us-east-1&accessKeyID=my-key&enableXray=true
```## License
See LICENSE file.
[pkg-go-dev]: https://pkg.go.dev/github.com/aereal/go-aws-timestream-driver
[pkg-go-dev-badge]: https://pkg.go.dev/badge/aereal/go-aws-timestream-driver
[ci-status]: https://github.com/aereal/go-aws-timestream-driver/workflows/CI/badge.svg?branch=main