Documentation ¶
Overview ¶
Package vproductapp maintains the app layer api for the vproduct domain.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App manages the set of app layer api functions for the view product domain.
func NewApp ¶
func NewApp(vproductBus *vproductbus.Business) *App
NewApp constructs a view product app API for use.
type Product ¶
type Product struct { ID string `json:"id"` UserID string `json:"userID"` Name string `json:"name"` Cost float64 `json:"cost"` Quantity int `json:"quantity"` DateCreated string `json:"dateCreated"` DateUpdated string `json:"dateUpdated"` UserName string `json:"userName"` }
Product represents information about an individual product with extended information.
Click to show internal directories.
Click to hide internal directories.