ind
sqldb-logger
ind | sqldb-logger | |
---|---|---|
1 | 3 | |
11 | 339 | |
- | - | |
0.0 | 0.0 | |
over 4 years ago | 4 months ago | |
C | Go | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ind
-
Ask HN: What are some tools / libraries you built yourself?
Also became a fun learning experience about terminals.
https://github.com/ThomasHabets/cmdg
I wanted to use GMail from a fast cli that used the native gmail API.
https://github.com/ThomasHabets/rslurp
I wanted to download concurrently and according to patterns. Ok, so honestly this one probably exists somewhere in a form that I would like, but I couldn't find it.
https://github.com/ThomasHabets/sim
I wanted multi-party authorization for sudo, and couldn't find one.
https://github.com/ThomasHabets/monotonic_clock
People kept using gettimeofday, so this is part of my compaign against it. (see https://blog.habets.se/2010/09/gettimeofday-should-never-be-...)
https://github.com/ThomasHabets/gtping
I worked in mobile core networks, and wanted a "ping" that used the GTP protocol since that won't be firewalled.
https://github.com/ThomasHabets/ind
I wanted my bash scripts to have automatic indentation, while not sacrificing buffering latency and such.
https://github.com/ThomasHabets/tlscheck
I wanted a simple tool to audit my TLS certificates for expiry.
https://github.com/google/huproxy
I was travelling to China on vacation and wanted a VPN out that would be unlikely to be blocked by the great firewall. Ok, so there are many VPN-like tools for getting through the GFW. Maybe it was just an excuse for me to write it. Honestly ssh -D would have likely worked just fine. It's being used by the keymaster project now though, so maybe it did something right: https://github.com/Cloud-Foundations/keymaster/blob/master/d...
https://github.com/google/tcpauth
I wanted to lock down SSH to anyone who doesn't have a secret key (and portknocking is usually ridiculous). Why not use TCP MD5 for it? https://github.com/google/tcpauth
sqldb-logger
- A logger for Go SQL database driver without modifying existing stdlib usage
-
DB Question: Can I get the final sql query from db.Exec?
You can use this to get instant query logging for sql.DB. https://github.com/simukti/sqldb-logger
-
Ask HN: What are some tools / libraries you built yourself?
sqldb-logger: https://github.com/simukti/sqldb-logger
It's a thin layer that wrap Go (Golang) SQL database driver, it does not change sql.DB usage in any existing Go app.
It is because I prefer to use vanilla Go sql.DB in my web service and I could not find any SQL logger for Go SQL database standard library that can use structured JSON logging.
What are some alternatives?
GoJS, a JavaScript Library for HTML Diagrams - JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
logxi - A 12-factor app logger built for performance and happy development
gazpacho - 🥫 The simple, fast, and modern web scraping library
logutils - Utilities for slightly better logging in Go (Golang).
Tabula - Extract tables from PDF files
go-logger - Simple logger for Go programs. Allows custom formats for messages.
null - Nullable Go types that can be marshalled/unmarshalled to/from JSON.
lumberjack - lumberjack is a log rolling package for Go
rupy - HTTP App. Server and JSON DB - Shared Parallel (Atomic) & Distributed
phuslu/log - Fastest structured logging
tera - A template engine for Rust based on Jinja2/Django
glog - Leveled execution logs for Go