Documentation ¶
Index ¶
- func DeleteOneRequest(id string) error
- func GetAllRequests() ([]root.Request, error)
- func GetOneRequest(id string) (root.Request, error)
- func GetRequestByField(field string, value string) ([]root.Request, error)
- func InitDB() error
- func InsertRequest(request root.Request) error
- func OpenDB() (*sql.DB, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteOneRequest ¶
func GetAllRequests ¶
func InsertRequest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.