added .gitignore
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
amsterdam
|
||||||
+4
-4
@@ -24,14 +24,14 @@ type amContext struct {
|
|||||||
httprc int
|
httprc int
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *amContext) Render(name string) error {
|
|
||||||
return c.echoContext.Render(c.httprc, name, c)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (c *amContext) SetRC(rc int) {
|
func (c *amContext) SetRC(rc int) {
|
||||||
c.httprc = rc
|
c.httprc = rc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *amContext) Render(name string) error {
|
||||||
|
return c.echoContext.Render(c.httprc, name, c)
|
||||||
|
}
|
||||||
|
|
||||||
func NewAmContext(ctxt echo.Context) AmContext {
|
func NewAmContext(ctxt echo.Context) AmContext {
|
||||||
rc := amContext{
|
rc := amContext{
|
||||||
echoContext: ctxt,
|
echoContext: ctxt,
|
||||||
|
|||||||
Reference in New Issue
Block a user