Common core utilities for web apps written in Go
Updating repo for move to Git
Add session token renewal for email magic link login

heads

tip
browse log

clone

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

#gobwebs

#!!!THIS REPO HAS BEEN MOVED!!!

For general DCVS usage reasons we've migrated this repo over to Git. Please use the new repo here:

https://git.code.netlandish.com/~netlandish/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)
  • 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.18+ and PostgreSQL.

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