Documentation
¶
Index ¶
- func AddObject(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func DeleteObject(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func EditObject(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func ListObjects(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func ListTables(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func SetEmbedder(_embedder *embed.FS)
- type Paginator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddObject ¶
func AddObject(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
function that returns form template and handles create operation
func DeleteObject ¶
func DeleteObject(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
function that handles delete operation
func EditObject ¶
func EditObject(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
function that returns form template and handles update operation
func ListObjects ¶
func ListObjects(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
function that returns objects of a table
func ListTables ¶
func ListTables(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
function that retrieves & returns table names from the database
func SetEmbedder ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.