errors
gofwd
errors | gofwd | |
---|---|---|
6 | 8 | |
5 | 45 | |
- | - | |
5.5 | 7.0 | |
25 days ago | 8 months ago | |
Go | Go | |
MIT License | GNU General Public License v3.0 or later |
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.
errors
-
Share Your Code.. Share your most unique piece of Go code.
I have errors too ) https://github.com/nikandfor/errors
-
Proposal: errors.With(err, other error) error
Full code with few tests is here
-
Anyone using github.com/pkg/errors for stack traces?
I did the same :)
-
go-faster/errors: clear go error wrapping with caller (xerrors fork with Wrap)
I have errors package too.
-
Effective Error Handling in Golang
I want to add that when wrapping error you should add function name you've called not function name you are in. Caller of your function already knows what he is called and he'll wrap it if he needs to. Or even better use human message and function name you can get out of Program Counter attached to the error. Non-stdlib errors package can do that (I use my own).
-
e4: an error handling package
By the way I've experimented with errors either.
gofwd
-
Ask HN: What apps have you created for your own use?
All of mine are CLI...
https://github.com/jftuga/less-Windows - [not really mine, but I just help maintain the port] - GNU less compiled for Windows 10 & 11. Stand-alone version with no dependencies.
https://github.com/jftuga/gofwd - A cross-platform TCP port forwarder with Duo 2FA and Geo-IP integration
https://github.com/jftuga/spotprice - Quickly get AWS spot instance pricing - a bit easier to use than the aws cli; is also faster and has more features
https://github.com/jftuga/tcpscan - A standalone, fast, simple, multi-threaded cross-platform IPv4 TCP port scanner
https://github.com/jftuga/ipinfo - Return IP address info including geographic location and distance when given IP address, email address, host name or URL
https://github.com/jftuga/photo_id_resizer - Resize photo ID images using face recognition technology
https://github.com/jftuga/chars - Determine the end-of-line format, tabs, bom, and nul characters
-
Tunnel via Cloudflare to Any TCP Service
I wrote something tangentially related, but for single user.
"gofwd" is a cross-platform TCP port forwarder with Duo 2FA and Geographic IP integration. Its use case is to help protect services when using a VPN is not possible. Before a connection is forwarded, the remote IP address is geographically checked against city, region (state), and/or country. Distance (in miles) can also be used. If this condition is satisfied, a Duo 2FA request can then be sent to a mobile device. The connection is only forwarded after Duo has verified the user.
https://github.com/jftuga/gofwd
-
Share Your Code.. Share your most unique piece of Go code.
most unique: gofwd - A cross-platform TCP port forwarder with Duo 2FA and Geo-IP integration
- Best way to block scanning and brute-force RDP attempts?
-
Is Cloudflare abusing my SSH?
https://github.com/jftuga/gofwd
I created gofwd, a cross-platform TCP port forwarder with Duo 2FA and Geographic IP integration. Its use case is to help protect services when using a VPN is not possible. While it's use cases are limited, it works great for me when I need to connect to my home network.
- Ask HN: What are some tools / libraries you built yourself?
- gofwd: A cross-platform TCP port forwarder with Duo 2FA and Geo-IP integration [OC]
What are some alternatives?
errors - A drop-in replacement for Go errors, with some added sugar! Unwrap user-friendly messages, HTTP status code, easy wrapping with multiple error types.
gutenberg - A fast static site generator in a single binary with everything built-in. https://www.getzola.org
simplerr - Advanced Go error handling, made simple
Pion WebRTC - Pure Go implementation of the WebRTC API
blockscan - a mini blockchain scanner
Shynet - Modern, privacy-friendly, and detailed web analytics that works without cookies or JS.
pcre - Pure-Go port of the PCRE2 regular expression engine.
Tabula - Extract tables from PDF files
snaky - snake game implementation using 2d array in Go
Nullboard - Nullboard is a minimalist kanban board, focused on compactness and readability.
errors - Simple error handling primitives
fselect - Find files with SQL-like queries