#gogen — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #gogen, aggregated by home.social.
-
Greenpeace
Centrale nucléaire de Gösgen : une faille de sécurité connue depuis 30 ans
https://mcinformactions.net/centrale-nucleaire-de-gosgen-une-faille-de-securite-connue-depuis-30-ans
#centralesNucleaires #Gogen -
A new version of #gogen is here!
Started over a decade ago, #gogen has been a solid foundation for numerous production Go services.
It provides boilerplate code for quickly building a production-ready web server and is an #opensource collection of high-quality, 100% unit-tested Go (#golang) packages. Each package follows common conventions and can be imported individually.
Check out and star #gogen: https://github.com/tecnickcom/gogen
Full documentation: https://pkg.go.dev/github.com/tecnickcom/gogen
-
New number-related #gogen Go (#golang) package:
* #countryphone (https://pkg.go.dev/github.com/tecnickcom/gogen/pkg/countryphone): Provides some geographical information of phone numbers or phone prefixes. This includes the ISO-3166 Alpha-2 country codes and the area when available (e.g. nation, state, province, territory). The default data can be replaced with custom datasets.
-
New number-related #gogen Go (#golang) package:
* #numtrie (https://pkg.go.dev/github.com/tecnickcom/gogen/pkg/numtrie): Provides an efficient numerical-indexed trie data structure. The trie allows to store and quickly retrieve values of any type associated with a numerical key. In particular, this implementation supports partial matches and returns a multi-status code on the type of match.
-
New number-related #gogen Go (#golang) package:
* #phonekeypad (https://pkg.go.dev/github.com/tecnickcom/gogen/pkg/phonekeypad): Quick functions to convert raw phone numbers strings to sequences of numbers corresponding to a standard phone keypad. For example the phone number string "1-999-EXAMPLE" gets converted to "[1 9 9 9 3 9 2 6 7 5 3]". Extra symbols are automatically removed.
-
If your Go (#golang) service or application deals with country information and ISO-3166 codes, you should consider using the new #gogen #countrycode package (https://pkg.go.dev/github.com/tecnickcom/gogen/pkg/countrycode).
This package provides information about countries and their ISO-3166 codes. The data is stored in a compact binary format, ensuring fast access and a small memory footprint. The default data can be overridden with a custom one. Multiple indexes are automatically created for efficient querying by various fields.
-
To manage passwords in #golang, check out the following #gogen packages:
* Generate new #passwords: https://pkg.go.dev/github.com/tecnickcom/gogen/pkg/random.
* Check for #similarity with existing passwords: https://pkg.go.dev/github.com/tecnickcom/gogen/pkg/stringmetric.
* Compare passwords against #compromised ones (#pwned): https://pkg.go.dev/github.com/tecnickcom/gogen/pkg/passwordpwned.
* Secure password #hashing, #storage, and #verification: https://pkg.go.dev/github.com/tecnickcom/gogen/pkg/passwordhash (based on #OWASP Password Storage Cheat advice).See also: #awssecretcache, #encrypt, #jwt, #redact, #randkey.
-
New #GoLang #opensource package: sfcache!
I'm excited to announce the release of a new open-source Go package, sfcache, which provides a simple, local, thread-safe, fixed-size and single-flight cache for expensive lookup calls in Go!
Examples applications includes the #dnscache and #awssecretcache packages in #gogen.
Check out the documentation for detailed instructions and examples: https://pkg.go.dev/github.com/tecnickcom/gogen/pkg/sfcache