github.com/gchaincl/sqlhooks
This example shows how to instrument sql queries in order to display the time that they consume package main import ( ) // Hooks satisfies the sqlhook.Hooks interface type Hooks struct {} // Before hook will print the query with it's args and return the context with the timestamp // After hook will get the timestamp registered on the Before hook and print the elapsed time /* Output should look like: > CREATE TABLE t (id INTEGER, text VARCHAR(16)) []. took: 121.238µs > INSERT into t (text) VALUES(?), (?) ["foo" "bar"]. took: 36.364µs > SELECT id, text FROM t []. took: 4.653µs */
proxy.golang.org
v1.3.0
over 6 years ago
4
46
283
github.com/famarks/grafarg v0.0.0-20240118154311-f9049aa366ff
11 versions - Latest release: about 2 years ago - 0 stars on GitHubgithub.com/famarker/grafarg v0.0.0-20240104161148-900be4e9d525
Grafarg is an interactive data analytics and graphical data visualization application. Grafarg be...3 versions - Latest release: about 2 years ago - 0 stars on GitHub
github.com/finogeeks/ligase v0.0.0-20231008030903-98709a5512e1
Ligase is a Golang-based implementation of Matrix homeserver, powered by finogeeks https://www.fi...3 versions - Latest release: over 2 years ago - 141 stars on GitHub
github.com/RedHatInsights/insights-results-smart-proxy v1.0.0
Entry point to the insights results smart proxy REST API service. This file contains functions ne...10 versions - Latest release: over 2 years ago - 2 dependent packages - 3 stars on GitHub
github.com/izhaohu/migrate v0.0.2
minimal migrate, for multi micro service support in one database.2 versions - Latest release: over 2 years ago - 0 stars on GitHub
github.com/jansemmelink/events v0.0.0-20230315195305-2665510c82ea
Events management API3 versions - Latest release: almost 3 years ago - 1 dependent repositories - 0 stars on GitHub
github.com/go-msvc/auth v0.0.0-20230311065004-4630c65059a5
Auth micro-service2 versions - Latest release: almost 3 years ago - 0 stars on GitHub
github.com/hove-io/gormungandr v0.4.5
9 versions - Latest release: about 3 years ago - 3 stars on GitHubgithub.com/CanalTP/gormungandr v0.4.5
9 versions - Latest release: about 3 years agogithub.com/galgotech/fermions v0.0.0-20221125184044-1132805eab13
Fermions allow you to build complex systems using workflows. Develop the front-end components and...1 version - Latest release: over 3 years ago - 0 stars on GitHub
github.com/galgotech/grafana v0.0.0-20221121175056-80dd783f1b60
1 version - Latest release: over 3 years agogithub.com/wolfeidau/exitus v0.0.0-20220214175732-5c1a4170f4dd
exitus is a very simple issue tracking API1 version - Latest release: about 4 years ago - 113 stars on GitHub
github.com/libgo/mysqlx v0.0.0-20220117080144-69e601a02231
1 version - Latest release: about 4 years ago - 3 dependent packages - 2 dependent repositories - 0 stars on GitHubgithub.com/izhaohu/mysqlx v0.0.0-20220114063358-f13da21a0ced
1 version - Latest release: about 4 years ago - 0 stars on GitHubgithub.com/canaltp/gormungandr v0.2.0 removed
2 versions - Latest release: over 4 years agogithub.com/libgo/cron v0.0.0-20200309020557-b43fa5ef6401
Library to ensure only one cron task executing for multi micro service instances.1 version - Latest release: about 6 years ago - 0 stars on GitHub
github.com/flachnetz/startup/startup_tracing_pg v1.1.11
Yet another library to help writing services.14 versions - Latest release: over 6 years ago - 1 dependent package - 4 stars on GitHub
github.com/libgo/migrate v0.0.0-20190826092639-767f10d7b976
minimal migrate, for multi micro service support in one database.1 version - Latest release: over 6 years ago - 1 stars on GitHub
Past Dependents
Check this option to include packages that no longer depend on this package in their latest version but previously did.
Filter
Filter by Kind
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/gchaincl/sqlhooks
spec |
| License | MIT |
| Namespace | github.com/gchaincl |
| First Release | almost 9 years ago |
| Last Synced | 1 day ago |
Repository
| Stars | 602 on GitHub |
| Forks | 42 on GitHub |
| Docker Dependents | 301 |
| Docker Downloads | 4,952,912,952 |