model

package
v0.0.0-...-2b84898 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 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 Message

type Message struct {
	Message string      `json:"message,omitempty"`
	Data    interface{} `json:"data,omitempty"`
}

type Product

type Product struct {
	ID          int64  `db:"id"          json:"id"`
	Name        string `db:"name"        json:"name"`
	Description string `db:"description" json:"description"`
	LastUser    string `db:"last_user"   json:"last_user"`
	UpdatedAt   string `db:"updated_at"  json:"updated_at"`
	CreatedAt   string `db:"created_at"  json:"created_at"`
}

type Service

type Service struct {
	Message string `json:"message"`
	Error   bool   `json:"error"`
}

Jump to

Keyboard shortcuts

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