models

package
v0.0.0-...-7d7529a Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 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 AppContext

type AppContext struct {
	DB *gorm.DB
}

func (*AppContext) GetDB

func (c *AppContext) GetDB() (db *gorm.DB)

type M

type M map[string]interface{}

type Todo

type Todo struct {
	ID   int
	Name string
	Note string
}

type User

type User struct {
	ID       int
	Name     string
	Email    string
	Password *string
}

Jump to

Keyboard shortcuts

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