BSD Ports

devel/sqlc 1.29.0 OpenBSD

create type safe go from SQL

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel, lang/go

Description

sqlc generates fully type-safe idiomatic Go code from SQL. Here's how it works:

1. You write SQL queries
2. You run sqlc to generate Go code that presents type-safe interfaces to
   those queries
3. You write application code that calls the methods sqlc generated

Install

Binary package:

pkg_add sqlc

From the ports tree:

cd /usr/ports/devel/sqlc && make install

Dependencies

Build dependencies 2

No port depends on this one.