users

package
v0.0.0-...-ff6528c Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteUser

func DeleteUser(c *gin.Context)

func InitialMigration

func InitialMigration()

func NewUser

func NewUser(c *gin.Context)

func ShowAllUsers

func ShowAllUsers(c *gin.Context)

func UpdateUser

func UpdateUser(c *gin.Context)

Types

type User

type User struct {
	gorm.Model
	Id    int
	Name  string
	Email string
}

Jump to

Keyboard shortcuts

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