Documentation
¶
Index ¶
- func ConnectDB(conn *sql.DB) (*db.Queries, error)
- type ItemStore
- func (i *ItemStore) DeleteItem(w http.ResponseWriter, r *http.Request, itemId openapi.ItemId)
- func (i *ItemStore) GetItemById(w http.ResponseWriter, r *http.Request, itemId openapi.ItemId)
- func (i *ItemStore) GetItems(w http.ResponseWriter, r *http.Request, params openapi.GetItemsParams)
- func (i *ItemStore) PatchItem(w http.ResponseWriter, r *http.Request, itemId openapi.ItemId)
- func (i *ItemStore) PostItems(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ItemStore ¶
type ItemStore struct {
// contains filtered or unexported fields
}
func (*ItemStore) DeleteItem ¶
func (*ItemStore) GetItemById ¶
func (*ItemStore) GetItems ¶
func (i *ItemStore) GetItems(w http.ResponseWriter, r *http.Request, params openapi.GetItemsParams)
Click to show internal directories.
Click to hide internal directories.