model

package
v0.0.0-...-5e9da40 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOrders

func GetOrders() *[]Order

Types

type Order

type Order struct {
	ID        uint `gorm:"primary_key"`
	UpdatedAt time.Time
	OrderId   string
	UserName  string
	Amount    float64
	Status    string
	FileUrl   string
}

func (Order) TableName

func (Order) TableName() string

set User's table name to be `profiles`

Jump to

Keyboard shortcuts

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