Documentation
¶
Overview ¶
Package orders is the orders module of the example: it takes orders.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module is the orders module, with what it needs.
func (*Module) CreateTables ¶
CreateTables creates the module's table, unless it exists. A real app leaves this to its migration tool.
func (*Module) PlaceOrder ¶
PlaceOrder saves an order with its tasks: the module's own receipt, and billing's invoice.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package ordertasks holds the tasks of the orders module: the types that other modules enqueue, and nothing else.
|
Package ordertasks holds the tasks of the orders module: the types that other modules enqueue, and nothing else. |