model

package
v0.0.0-...-1551971 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserAcountsInfoTableName = "users"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Product

type Product struct {
	ID        int64     `json:"id"`
	Name      string    `json:"name"`
	Price     float64   `json:"price"`
	Currency  string    `json:"currency"`
	PriceID   string    `json:"-"`
	CreatedAt time.Time `json:"created_at"`
}

type StripeCustomer

type StripeCustomer struct {
	UserID     int64
	CustomerID string
	CreatedAt  time.Time
}

type UserAccount

type UserAccount struct {
	ID        int64
	Email     string
	Password  string
	FirstName string
	LastName  string
	IsAdmin   bool
	CreatedAt string
	UpdatedAt string
}

Jump to

Keyboard shortcuts

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