userdb is a user administration for web projects. It got on my nerves to build such small parts again and again, so I outsourced it now at the beginning of my "golang career" to use it in the future.
package userdb // import "github.com/vkroll/golang/userdb"
func CreateUser(u string, p []byte) (bool, error)
func LoadUsers()
func SaveUsers()
func UserExists(u string) bool
func ValidateUser(u string, p []byte) bool
Parts of the implementation are inspired by code from https://github.com/mrichman/go-web-userdb