user

package
Version: v0.0.0-...-899178a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2020 License: MIT Imports: 0 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB = Users{
	"user": User{
		Username: "user",

		PasswordHash: "$2a$10$KgFhp4HAaBCRAYbFp5XYUOKrbO90yrpUQte4eyafk4Tu6mnZcNWiK",
		Email:        "user@example.com",
	},
}

Functions

This section is empty.

Types

type User

type User struct {
	Username     string
	PasswordHash string
	Email        string
}

type Users

type Users map[string]User

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL