{"repo":"tracewayapp/lit","free":true,"listed":false,"github":"https://github.com/tracewayapp/lit","clone":"git clone https://github.com/tracewayapp/lit.git","description":"A small library for mapping between queries and structs.","language":"Go","stars":13,"topics":["database","golang","golang-orm","orm","orm-library"],"license":"MIT","category":"databases-storage","readme_excerpt":"lit lit is a lightweight, high-performance database interaction library for Go. It is designed to be slim, fast, and easy to use, especially when working with projections and Data Transfer Objects (DTOs). The project is currently used in a production environment . Key Features - Unified API : The lit package provides a single API for PostgreSQL, MySQL, SQLite, DuckDB, and custom database drivers, with driver-specific optimizations handled internally. - Lightweight Projections : The biggest advantage of lit is its ability to load DTOs and projections with minimal effort. Regardless of your table structure, mapping a query result to a Go struct is straightforward and clean. - MySQL, PostgreSQL, SQLite, and DuckDB Support : Register your models with the appropriate driver and the library handles query generation and driver-specific optimizations. - Generic CRUD Operations : Automatic generation of INSERT and UPDATE queries for registered types. - Works with DB and Tx : All operations accept both sql.DB and sql.Tx via the Executor interface. - Minimal Dependencies : Keeps your project slim and focused. Docs Documentation is available at https://lit.tracewayapp.com AI Agent Setup lit ships a skill that teaches AI coding agents (Claude Code, Cursor, Codex, and similar) the full API and its pitfalls, so they write correct lit code in your project. - Claude Code plugin : /plugin marketplace add tracewayapp/lit , then /plugin install lit@lit - Copy into your repo : put skills/lit/SKIL","default_branch":null,"files":null,"tree":[],"storefront":"/r/tracewayapp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tracewayapp/lit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}