Documentation ¶
Overview ¶
Package routehtml provides shortcuts to deal with route and go-on/lib/html
Index ¶
- func Params(params ...string) (res map[string]string)
- type ErrParams
- type ErrRouteIsNil
- type Tag
- func AHref(r **route.Route, params map[string]string, data ...interface{}) *Tag
- func CssHref(r **route.Route, params map[string]string, data ...interface{}) *Tag
- func FORM(r **route.Route, params map[string]string, data ...interface{}) *Tag
- func FormDelete(r **route.Route, params map[string]string, data ...interface{}) *Tag
- func FormGet(r **route.Route, params map[string]string, data ...interface{}) *Tag
- func FormPatch(r **route.Route, params map[string]string, data ...interface{}) *Tag
- func FormPost(r **route.Route, params map[string]string, data ...interface{}) *Tag
- func FormPostMultipart(r **route.Route, params map[string]string, data ...interface{}) *Tag
- func FormPut(r **route.Route, params map[string]string, data ...interface{}) *Tag
- func ImgSrc(r **route.Route, params map[string]string, data ...interface{}) *Tag
- func JsSrc(r **route.Route, params map[string]string, data ...interface{}) *Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrRouteIsNil ¶
type ErrRouteIsNil struct {
*Tag
}
func (*ErrRouteIsNil) Error ¶
func (p *ErrRouteIsNil) Error() string
type Tag ¶
type Tag struct {
// contains filtered or unexported fields
}
func FormDelete ¶
func FormPostMultipart ¶
Click to show internal directories.
Click to hide internal directories.