Documentation ¶
Index ¶
- func Create(w http.ResponseWriter, r *http.Request)
- func Delete(w http.ResponseWriter, r *http.Request)
- func GetAll(w http.ResponseWriter, r *http.Request)
- func GetByID(w http.ResponseWriter, r *http.Request)
- func Index(w http.ResponseWriter, r *http.Request)
- func Update(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(w http.ResponseWriter, r *http.Request)
This function will deal with a request to create an object in the database.
func Delete ¶
func Delete(w http.ResponseWriter, r *http.Request)
This function will deal with a request to delet an object at the database.
func GetAll ¶
func GetAll(w http.ResponseWriter, r *http.Request)
This function will deal with a request to get all the objects stores in the database.
func GetByID ¶
func GetByID(w http.ResponseWriter, r *http.Request)
This function will deal with a request to get an specific object at the dabase.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.