model

package
v1.9.9 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Product

type Product struct {
	Upc string `json:"upc"`
}

func (Product) IsEntity

func (Product) IsEntity()

type Review

type Review struct {
	Body    string
	Author  *User
	Product *Product
}

type User

type User struct {
	ID string `json:"id"`
}

func (User) IsEntity

func (User) IsEntity()

Jump to

Keyboard shortcuts

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