users

package
v0.0.0-...-fdbb991 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UserEdit

func UserEdit(w http.ResponseWriter, r *http.Request)

change description or username

Types

type User

type User struct {
	Username string
	Date     string
	UserId   string
	Desc     string
}

func GetUser

func GetUser(id string) (User, error)

get user from database by id

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL