models

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID        string    `gorm:"primaryKey;Column:id;type:varchar(45)" json:"id"`
	Name      string    `gorm:"Column:name;type:varchar(255)" json:"name"`
	CreatedAt time.Time `gorm:"Column:created_at;type:timestamp;not null" json:"createdAt"`
	UpdatedAt time.Time `gorm:"Column:updated_at;type:timestamp;not null" json:"updatedAt"`
}

func (User) TableName

func (User) TableName() string

Jump to

Keyboard shortcuts

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