An open API service indexing awesome lists of open source software.

https://github.com/wroge/sqlt

A Go Template-Based SQL Builder and Struct Mapper
https://github.com/wroge/sqlt

golang mapper mysql no-orm orm postgres sql sql-builder sqlite template type-safe

Last synced: about 1 month ago
JSON representation

A Go Template-Based SQL Builder and Struct Mapper

Awesome Lists containing this project

README

        

# A Go Template-Based SQL Builder and Struct Mapper

[![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white)](https://pkg.go.dev/github.com/wroge/sqlt)
[![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/wroge/sqlt.svg?style=social)](https://github.com/wroge/sqlt/tags)
[![codecov](https://codecov.io/github/wroge/sqlt/graph/badge.svg?token=GDAWVVKGMR)](https://codecov.io/github/wroge/sqlt)

```go
import "github.com/wroge/sqlt"
```

`sqlt` uses Go’s template engine to create a flexible, powerful, and type-safe SQL builder and struct mapper.

- [Website](https://wroge.github.io/sqlt-docs)
- [Go Doc](https://pkg.go.dev/github.com/wroge/sqlt)
- [Example](https://github.com/wroge/vertical-slice-architecture)
- [Benchmarks](https://github.com/wroge/bench-flix)