~netlandish/gobwebs

Common core utilities for web apps written in Go
Updated README
Only run email checker if a MailChecker is set
Small syntax change

refs

master
browse  log 

clone

read-only
https://git.code.netlandish.com/~netlandish/gobwebs
read/write
git@git.code.netlandish.com:~netlandish/gobwebs

You can also use your local clone with git send-email.

#gobwebs

USE AT YOUR OWN RISK. This module, while is working in production, is not considered production ready. It is not yet version 1 ready and the API will no doubt change on core pieces. If you're adventurous then enjoy.

This is a simple set of utilities to help make it easier to write web applications in Golang. It uses the echo framework. Some of the batteries included:

  • User management
    • Login (password or magic email link)
    • Change password
    • Forgot password
    • Change email
  • Confirmation management
  • User sessions (using scs)
  • Storage (local fs or S3-like services)
  • Custom form validation (combining echo and validator)
  • Built in async queue support (using dowork)
  • Custom email interfaces using carrier
  • Lots of template helpers
  • Built in localization

Requires Go 1.20+ and PostgreSQL.

To see how this is used in real applications you can see the following:

  • GoHome - Simple application to server Go modules from your custom domain
  • LinkTaco - A much more complex suite of applications that powers LinkTaco.com

Seriously lacking documentation, base sql tables for users and confirmations, and more. Like we said, don't use this yet. You've been warned :)

Licensed under the BSD license. See LICENSE file