user

package
v0.0.0-...-b5ec117 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const Table = "users"

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID         uint                  `json:"id,omitempty" gorm:"primaryKey"`
	Username   string                `json:"username"`
	Password   string                `json:"password"`
	CreatedAt  int                   `json:"created_at,omitempty"`
	Parameters []parameter.Parameter `gorm:"foreignKey:UserID"`
}

Jump to

Keyboard shortcuts

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