Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
Name string
Path string
Template string
Data map[string]any
Methods string
// contains filtered or unexported fields
}
func MakeRoute ¶
func MakeRoute(c Controller) Controller
func (*Controller) AddQuery ¶
func (c *Controller) AddQuery(q Query, args ...[]any)
func (*Controller) Get ¶
func (c *Controller) Get()
func (*Controller) Post ¶
func (c *Controller) Post()
type DbHandle ¶
func (DbHandle) Query ¶
func (h DbHandle) Query(sql string, args ...interface{}) *RowsHandle
type RowsHandle ¶
func (RowsHandle) FetchRowMap ¶
func (rh RowsHandle) FetchRowMap() map[string]interface{}
func (RowsHandle) Next ¶
func (rh RowsHandle) Next() bool
Click to show internal directories.
Click to hide internal directories.