343 Resources
Golang sql-schema-migration Libraries
Vectorized SQL for JSON at scale: fast, simple, schemaless
Vectorized SQL for JSON at scale: fast, simple, schemaless Sneller is a high-performance vectorized SQL engine for JSON that runs directly on object s
Google Cloud Spanner driver for Go's database/sql package.
go-sql-spanner Google Cloud Spanner driver for Go's database/sql package. This support is currently in the Preview release status. import _ "github.co
Minimal memory usage, cloud native logstash alternative
Mr-Plow Tiny and minimal tool to export data from relational db (postgres or mysql) to elasticsearch. The tool does not implement all the logstash fea
A simple auditor of SQL databases.
DBAuditor SQL数据库审计系统,目前支持SQL注入攻击审计 环境配置 sudo apt install golang 运行方式 将待审计语句填入test.txt中,然后运行主程序: 直接运行: go run main.go 编译运行: go build main.go ./main 主要目
ddl-maker generate ddl (SQL file) from Go struct.
[日本語] What is ddl-maker ddl-maker generate ddl (SQL file) from golang struct. It's only supported MySQL only now. The original code is kayac/ddl-maker
Mergestat - a command-line tool for running SQL queries on git repositories and related data sources
Query git repositories with SQL. Generate reports, perform status checks, analyze codebases. 🔍 📊
Esdump is a migration CLI written in Go for migrating index mapping and data from one elasticsearch to another.
esdump Introduction esdump is a migration CLI written in Go for migrating index mapping and data from one elasticsearch to another. Compatibility Elas
mercuryPQCrypto is a go post quantum cryptography (PQC) algorithms lib for studying the pqc migration and application adaptation.
mercuryPQCrypto-README 1 mercuryPQCrypto: Mercury Cryptography Project mercuryPQCrypto is a cryptography project conducted by Chongqing University, Ch
This is the code example how to use SQL to query data from any relational databases in Go programming language.
Go with SQL example This is the code example how to use SQL to query data from any relational databases in Go programming language. To start, please m
SampleD - scalable sample collection, routing, and schema evolution
SampleD Realtime event analytics capture and processor Emit samples from your application code (libraries provided) Configure fluentbit to capture sam
Migration - Commonly used migration tools
Migration Commonly used migration tools Usage package main import ( "context"
Migration - Commonly used migration tools
Migration Commonly used migration tools Usage package main import ( "context"
Querycrate - A simple library that loads and keeps SQL queries from files
QueryCrate A simple library for loading & getting string queries from files. How
MSSQLDecryptor - Small and simple tool for decrypting encrypted views, functions and stored procdeures in Microsoft SQL Server
MSSQLDecryptor small and simple decryptor for encrypted objects in Microsoft SQL
Terraform-equinix-migration-tool - Tool to migrate code from Equinix Metal terraform provider to Equinix terraform provider
Equinix Terraform Provider Migration Tool This tool targets a terraform working
Use SQL to query databases, logs and more from PlanetScale
Use SQL to instantly query PlanetScale databases, branches and more. Open source CLI. No DB required.
Golang REST Layer SQL Storage Handler
This REST Layer resource storage backend stores data in a SQL Database using database/sql.
Use SQL to instantly query Algolia indexes and configuration. Open source CLI. No DB required
Use SQL to instantly query Algolia indexes and configuration. Open source CLI. No DB required
Schematic - Generates model and validators by schema definition
schematic Generates model and validators by schema definition. Install Warning:
Package dbi implements an experimental database/sql wrapper.
dbi Package dbi implements a database/sql wrapper. This is an EXPERIMENTAL package used for experimenting. Installation The recommended way to install
Schema - JSON Schema rules plugin
This plugin allows to configure JSON Schema validations rules ensuring user-submitted records adhere to a pre-defined data schema.
A migration engine to deploy database changes in your golang + mongodb app.
bisonmigration A migration engine to deploy database changes in your golang + mongodb app. Migration files register their UP and DOWN functions in the
A go package to add support for data at rest encryption if you are using the database/sql.
go-lockset A go package to add support for data at rest encryption if you are using the database/sql to access your database. Installation In your Gol
A database migration tool written in Go.
dbmagritte created by Austin Poor A database migration tool written in Go. Usage Commands: init: Set up the repo by creating a .dbmagritte.yaml file a
Go-db-connection-api - API REST in Go that connect to SQL DB and manage task of projects
Go Todo REST API Example A RESTful API example for simple application with Go It
Go-sql-reader - Go utility to read the externalised sql with predefined tags
go-sql-reader go utility to read the externalised sql with predefined tags Usage
Otelsql - OpenTelemetry SQL database driver wrapper for Go
OpenTelemetry SQL database driver wrapper for Go Add a OpenTelemetry wrapper to
Thin clones of PostgreSQL to build powerful development, test, QA, staging environments
Database Lab Engine (DLE) ⚡ Blazing-fast cloning of PostgreSQL databases 🐘 Thin clones of PostgreSQL to build powerful development, test, QA, staging
This is a simple Golang application that executes SQL commands to clean up a mirror node's database.
This is a simple Golang application that executes SQL commands to clean up a mirror node's database.
Simple filter query language parser so that you can build SQL, Elasticsearch, etc. queries safely from user input.
fexpr fexpr is a filter query language parser that generates extremely easy to work with AST structure so that you can create safely SQL, Elasticsearc
Mybatis for golang - SQL mapper ORM framework
SQL mapper ORM framework for Golang English 中文 Please read the documentation website carefully when using the tutorial. DOC Powerful Features High Per
Cashbag - This is golang sdk for implement promotion schema
Cashbag This is golang sdk for implement promotion schema How to use package mai
Tools for parse JSON-like logs for collecting unique fields and events
parsefields Tool for parse JSON-like logs for collecting unique fields. Main purpose to collect JSON-data with typical events and fields it is useful
CLI-friendly package for pg migrations management.
go-pg-migrate CLI-friendly package for PostgreSQL migrations management. Installation Requires Go Modules enabled. go get github.com/lawzava/go-pg-mig
MySQL database migrator
MySQL database migrator MySQL database migrator designed to run migrations to your features and manage database schema update with intuitive go code.
Embedded schema migration package for Go
Schema - Database Migrations for Go An embeddable library for applying changes to your Go application's database/sql schema. Features Cloud-friendly d
sql migration schema generate from models
SQLize Generate MySQL/PostgreSQL Migration from golang struct and existing sql Features Sql parser Sql builder from objects Generate sql migration fro
Lightweight package containing some ORM-like features and helpers for sqlite databases.
ormlite Lightweight package implementing some ORM-like features and helpers for sqlite databases. Model type Model interface { Table() string } Th
A minimal, single-table No-SQL database.
SimpleDB SimpleDB is a very basic No-SQL database format for long-term data storage in Golang. It is WIP, has a LOT of drawbacks, and definitely is no
Go sql layer architecture sample
go-sql-rest-api-template To run the application go run main.go API Design Common HTTP methods GET: retrieve a representation of the resource POST: cre
Go driver for Azure CosmosDB SQL API
Go driver for Azure Cosmos DB SQL API which can be used with the standard database/sql package. A REST client for Azure Cosmos DB SQL API is also included.
Project to migrate Cumulocity Software objects towards new model introduced in v 10.7
About Tool to migrate the software repository entries prior to Cumulocity v10.7 to the new Software Repository package model including Software Versio
Go sql modular sample
go-sql-rest-api To run the application go run main.go API Design Common HTTP methods GET: retrieve a representation of the resource POST: create a new
Forklift: an API application developed with go that enables virtual server migration from vcenter virtualization environment to openstack environment
What is the Forklift? Forklift is an API application developed with go that enables virtual server migration from vcenter virtualization environment t
Use SQL to instantly query resources from PagerDuty. Open source CLI. No DB required.
PagerDuty Plugin for Steampipe Use SQL to query infrastructure services, teams, escalation policies and more from your PagerDuty account. Get started
Crud - A mysql crud code generate tool from table DDL sql file
crud is a mysql crud code generate tool 中文文档 Getting Started Overview Crud is a
Kick dropper is a very simple and leightweight demonstration of SQL querying, and injection by parsing URl's
__ __ __ __ _____ ______ | |/ |__|.----.| |--.______| \.----.| |.-----.-----.-----.----.
Run SQL queries against JSON, CSV, Excel, Parquet, and more.
Run SQL queries against JSON, CSV, Excel, Parquet, and more This is a CLI companion to DataStation (a GUI) for running SQL queries against data files.
An opinionated production-ready SQL-/Swagger-first RESTful JSON API written in Go, highly integrated with VSCode DevContainers by allaboutapps.
go-starter go-starter is an opinionated production-ready RESTful JSON backend template written in Go, highly integrated with VSCode DevContainers by a
Idempotent schema management for MySQL, PostgreSQL, and more
sqldef The easiest idempotent MySQL/PostgreSQL/SQLite3/SQL Server schema management by SQL. This is inspired by Ridgepole but using SQL, so there's no
Spansqlx - Spanner sql pkgs with golang
spansqlx spanner sql pkgs install go get github.com/reiot777/spansqlx usage Bel
Orasql - An autonomous Oracle sql toolbox
orasql An autonomous Oracle sql toolbox Usage: Usage: ./orasql -dsn server_url
Light Object-Relational Environment (LORE) provides a simple and lightweight pseudo-ORM/pseudo-struct-mapping environment for Go
LORE Light Object-Relational Environment (LORE) provides a simple and lightweight pseudo-ORM/pseudo-struct-mapping environment for Go. Motivation With
Command line tool to generate idiomatic Go code for SQL databases supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server
xo xo is a command-line tool to generate idiomatic code for different languages code based on a database schema or a custom query. Supported languages
Client-Server Expression Evaluator with Persistent Database Support (Redis & SQL)
Client-Server-Expression-Evaluator Client-Server Expression Evaluator with Persistent Database Support (Redis & SQL). Client-Server Expression Evaluat
Troon-NFT-Contract is deployed on Flow Blockchain, which is a white-label smart-contract for NFTs with an addition layer of Brand, Schema and Template
Overview Summary of NFTContract NFTContract is a Non Fungible Token (NFT) standard for Flow blockchain. It offers a powerful set while keeping unneces
Dotsql - A Golang library for using SQL.
dotsql A Golang library for using SQL. It is not an ORM, it is not a query builder. Dotsql is a library that helps you keep sql files in one place and
Goracle - Go database/sql driver for connecting to Oracle Database, using the ODPI-C library
Goracle is deprecated because of naming (trademark) issues. Please use github.com/godror/godror instead! You can use "sed" to change everything: se
Octillery - Go package for sharding databases ( Supports every ORM or raw SQL )
Octillery Octillery is a Go package for sharding databases. It can use with every OR Mapping library ( xorm , gorp , gorm , dbr ...) implementing data
Dingo - Data access in Go - Code Generator
DinGo Data access in Go (DinGo). From database schema to RESTful API: all the code is generated for you in few seconds. Build status Main features Din
Vertica-sql-go - Official native Go client for the Vertica Analytics Database.
vertica-sql-go vertica-sql-go is a native Go adapter for the Vertica (http://www.vertica.com) database. Please check out release notes to learn about
Marlow - golang generator for type-safe sql api constructs
Marlow is a code generation tool written in golang designed to create useful constructs that provide an ergonomic API for interacting with a project's
Gondolier is a database migration library for Go.
Gondolier Description Gondolier is a library to auto migrate database schemas in Go (golang) using structs. Quick demo: type Customer struct { Id
Golang, Gin, JWT, sqlite/SQL - Shopping cart application
Shopping API using Gin, Golang, JWT, Dependency Injection, Unit testing Description This is an shopping cart service implementation in Go (Golang)+ Gi
The fastest way to build a restful API with golang and echo framework.
The fastest way to build a restful API with golang and echo framework. Includes common required features for modern web applications. A boilerplate project with golang and Echo.
BigQuery database/sql golang driver
BigQuery SQL Driver This library is compatible with Go 1.17+ Please refer to CHA
Library providing routines to merge and validate JSON, YAML and/or TOML files
CONFLATE Library providing routines to merge and validate JSON, YAML, TOML files and/or structs (godoc) Typical use case: Make your application config
Golang PostgreSQL schema migration tool
goerd This is a New Era of migrations PostgreSQL databases with Golang. We no longer want to ensure the database schema with incremental patches. Shem
Lightweight SQL database written in Go for prototyping and playing with text (CSV, JSON) data
gopicosql Lightweight SQL database written in Go for prototyping and playing wit
Golang struct to postgres table shifter.
pg-shifter Golang struct to postgres table shifter. go1.9+ required. The main objective is to keep the table's complete schema details in golang table
Microsoft SQL server adapter for REL written in Golang.
mssql Microsoft SQL Server adapter for REL. Example package main import ( "context" _ "github.com/denisenkom/go-mssqldb" "github.com/go-rel/mssql
Create raw sql from structs without ORM
Usage go get github.com/PerfilovStanislav/[email protected] EXAMPLES Simple Bulk insert Sql in sql Simple Example package main import
Generate test data from SQL files before testing and clear it after finished.
TestSQL Generate test data from SQL files before testing and clear it after finished. Contents Installation Usage API Reference See also Installation
Package gorilla/schema fills a struct with form values.
schema Package gorilla/schema converts structs to and from form values. Example Here's a quick example: we parse POST form values and then decode them
Sqlbench runs benchmarks on an SQL database
sqlbench runs benchmarks on an SQL database. Right now this works for PostgreSQL
A tool that integrates SQL, HTTP,interface,Redis mock
Mockit 目标:将mock变得简单,让代码维护变得容易 分支介绍 main 主分支,覆盖了单元测试 light 轻分支,去除了单元测试,简化了依赖项,方便其他团队使用 常见Mock难点 不同中间件,mock库设计模式不一致,学习代价高,差异化明显 mock方案强依赖服务端,无法灵活解耦 单元测试
EdgelessDB is a MySQL-compatible database for confidential computing
EdgelessDB is a MySQL-compatible database for confidential computing. It runs entirely inside a secure enclave and comes with advanced features for collaboration, recovery, and access control.
Beerus-DB: a database operation framework, currently only supports Mysql, Use [go-sql-driver/mysql] to do database connection and basic operations
Beerus-DB · Beerus-DB is a database operation framework, currently only supports Mysql, Use [go-sql-driver/mysql] to do database connection and basic
Go database/sql
Go database/sql 源码阅读 基于 release-branch.go1.17 Benchmark 连接池测试 简单介绍 database/sql 库,包括结构体和主要的方法 介绍主要函数的调用逻辑 用OneNote看源码:Link 介绍最近几个版本的commit changes 结合实
Parallel processing through go routines, copy and delete thousands of key within some minutes
redis-dumper CLI Parallel processing through go routines, copy and delete thousands of key within some minutes copy data by key pattern from one redis
Universal command-line interface for SQL databases
Installing | Building | Using | Database Support | Features and Compatibility | Releases | Contributing usql is a universal command-line interface for
Opionated sql formatter for use with .go files containing backticked queries
fumpt-the-sql Opionated sql formatter for use with .go files containing backticked queries. Uses https://sqlformat.darold.net/ for the actual sql form
Simple SQL escape and format for golang
sqlstring Simple SQL escape and format Escaping sql values //Format sql := sqlstring.Format("select * from users where name=? and age=? limit ?,?", "t
SQLite extension for accessing other SQL databases
dblite SQLite extension for accessing other SQL databases, in SQLite. Similar to how Postgres Foreign Data Wrappers enable access to other databases i
Web-based, zero-config, dependency-free database schema change and version control tool for teams
Live Demo • Install • Help • Development • Design Doc Bytebase is a web-based, zero-config, dependency-free database schema change and version control
Kstone is an etcd management platform, providing cluster management, monitoring, backup, inspection, data migration, visual viewing of etcd data, and intelligent diagnosis.
Kstone 中文 Kstone is an etcd management platform, providing cluster management, monitoring, backup, inspection, data migration, visual viewing of etcd
SQL mapper ORM framework for Golang
SQL mapper ORM framework for Golang English 中文 Please read the documentation website carefully when using the tutorial. DOC Powerful Features High Per
Demo of schema change failures with SQLite INTEGERs.
SQLite Schema Migration Bug This is a repository to reproduce a bug with Ent and the modernc.org/sqlite (non-CGO) SQLite 3 driver. Reproduce Simply ru
Use SQL to instantly query resources, data sources and more from Terraform code. Open source CLI. No DB required.
Terraform Plugin for Steampipe Use SQL to query data from Terraform configuration files. Get started → Documentation: Table definitions & examples Com
Static analysis tool for Golang that protects against SQL injections
This project is deprecated and is no longer being actively maintained. SafeSQL SafeSQL is a static analysis tool for Go that protects against SQL inje
Golang database/sql driver for AWS Athena
go-athena go-athena is a simple Golang database/sql driver for Amazon Athena. import ( "database/sql" _ "github.com/akrennmair/go-athena" ) f
GitHub's Online Schema Migrations for MySQL
gh-ost GitHub's online schema migration for MySQL gh-ost is a triggerless online schema migration solution for MySQL. It is testable and provides paus
In-memory SQL engine in Go sql/driver for testing purpose
RamSQL Disposable SQL engine RamSQL has been written to be used in your project's test suite. Unit testing in Go is simple, create a foo_test.go impor
Generate a Go ORM tailored to your database schema.
SQLBoiler is a tool to generate a Go ORM tailored to your database schema. It is a "database-first" ORM as opposed to "code-first" (like gorm/gorp). T
Go Postgres Data Access Toolkit
dat GoDoc dat (Data Access Toolkit) is a fast, lightweight Postgres library for Go. Focused on Postgres. See Insect, Upsert, SelectDoc, QueryJSON Buil
Go database migration tool
goose goose is a database migration tool. You can manage your database's evolution by creating incremental SQL or Go scripts. Stability notice This re
A CUE-based framework for portable, evolvable, schema
Scuemata Scuemata is a system for writing schemas. Like JSON Schema or OpenAPI, it is general-purpose, and most obviously useful as an IDL. Unlike JSO
Devcloud-go provides a sql-driver for mysql which named devspore driver and a redis client which named devspore client,
Devcloud-go Devcloud-go provides a sql-driver for mysql which named devspore driver and a redis client which named devspore client, you can use them w
Get data from .csv files use SQL-like queries.
csvql Get data from .csv files use SQL-like queries. Задание Необходимо написать консольную программу, которая по заданному клиентом запросу осуществл
A database connection tool for sensitive data
go-sql 用于快速统计数据库行数、敏感字段匹配、数据库连接情况。 usage ./go-sql_darwin_amd64 -h ./go-sql_darwin_amd64 -f db.yaml -k name,user ./go-sql_darwin_amd64 -f db.yaml --min