package
Version:
v1.6.1
Opens a new window with list of versions in this module.
Published: Oct 19, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package order keeps the orders of the example in memory.
type Order struct {
ID string `json:"id"`
Item string `json:"item"`
}
Order is an order of one item.
Service stores the orders.
NewService provides the order service.
@Provide(index=0)
Create stores a new order of item.
Get returns the order with id.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.