Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/go-rel/sqlite3
SQLite3 adapter for REL written in Golang.
https://github.com/go-rel/sqlite3
database go golang hacktoberfest orm sqlite3
Last synced: 8 days ago
JSON representation
SQLite3 adapter for REL written in Golang.
- Host: GitHub
- URL: https://github.com/go-rel/sqlite3
- Owner: go-rel
- License: mit
- Created: 2021-09-24T06:53:30.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-08T08:46:58.000Z (about 1 month ago)
- Last Synced: 2024-10-29T16:20:42.865Z (17 days ago)
- Topics: database, go, golang, hacktoberfest, orm, sqlite3
- Language: Go
- Homepage:
- Size: 87.9 KB
- Stars: 1
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# sqlite3
[![GoDoc](https://godoc.org/github.com/go-rel/sqlite3?status.svg)](https://pkg.go.dev/github.com/go-rel/sqlite3)
[![Tesst](https://github.com/go-rel/sqlite3/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/go-rel/sqlite3/actions/workflows/test.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/go-rel/sqlite3)](https://goreportcard.com/report/github.com/go-rel/sqlite3)
[![codecov](https://codecov.io/gh/go-rel/sqlite3/branch/main/graph/badge.svg?token=GX2dOCV7Cq)](https://codecov.io/gh/go-rel/sqlite3)
[![Gitter chat](https://badges.gitter.im/go-rel/rel.png)](https://gitter.im/go-rel/rel)SQLite3 adapter for REL.
## Example
```go
package mainimport (
"context"_ "github.com/mattn/go-sqlite3"
"github.com/go-rel/sqlite3"
"github.com/go-rel/rel"
)func main() {
// open sqlite3 connection.
adapter, err := sqlite3.Open("dev.db")
if err != nil {
panic(err)
}
defer adapter.Close()// initialize rel's repo.
repo := rel.New(adapter)
repo.Ping(context.TODO())
}
```## Supported Driver
- github.com/mattn/go-sqlite3