Hi all, I've been working on a side project for the last few months that involved building a simple web app. As part of that, I ended up looking for lots of libraries to do things like internationalization on server rendered templates, generate one time passwords with TOTP, run migrations, etc. and on occasion I ended up building my own when existing libraries didn't feel very Go like, or had too many dependencies. Now that I'm winding down, I've open sourced many of the alternatives I've written.
At current count there are 11 small libraries that I've split out of my application. These include: - HOTP and TOTP one time password generation - template rendering with i18n support and live reloading in dev mode - generating unique image-hash avatars - populating the environment from a file or other reader - running and creating migrations for PostgreSQL in a way that's compatible with the Diesel tool - an HTTP multiplexer that provides typed route parameters - a tool for zipping static resources and including them in Go source files (this is a fork of JDB's statik that does not rely on import side effects) - an error implementation similar to the errors defined in RFC7807 - a parser for the simple query language my project used for searching (probably not useful to anyone else, but you never know) - a relative time implementation (eg. 10:00 AM to "one hour ago") - a package for logging to test output (so that calls to logging while running tests only show up if the test failed and aggregated under the test that generated them). More will likely come as I decide what to do with the project now that it's winding down. I hope some of these are useful to others here who may be dissatisfied with the larger web frameworks that have become popular. They can all be found here: https://code.soquee.net/ —Sam -- Sam Whited -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/fbfd9a13-f50b-4384-a5a2-ccf73e2bf8dc%40www.fastmail.com. For more options, visit https://groups.google.com/d/optout.