Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
func RegisterRoutes(router Router, store Store)
RegisterRoutes wires the store-backed HTTP handlers.
Types ¶
type SQLStore ¶
type SQLStore struct {
// contains filtered or unexported fields
}
SQLStore persists orders in a relational database.
func NewSQLStore ¶
NewSQLStore builds a repository around an existing database handle.
Click to show internal directories.
Click to hide internal directories.