iris
iris copied to clipboard
The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket:
Example: When I call ctx.AbsoluteURI("/alexkeycard/pmslinkregister") I get this result: https//alexdev.hmobile.es:8443/alexkeycard/pmslinkregister I think that the problem is that this line https://github.com/kataras/iris/blob/567c06702fa4359dc4835593a55c55854069954a/context/context.go#L2039 is returning scheme from URL in the form "http" or...
**Describe the bug** runtime error: invalid memory address or nil pointer dereference **To Reproduce** run app like https://github.com/kataras/iris/tree/master/_examples/view/template_jet_3 **Expected behavior** no panic because of runtime error: invalid memory address or...
 I set up session A, and B  But I see two records in redis One contains A, the other contains B After refreshing the browser, one contains A...
E.g: ```go type HospPay struct { ID int `gorm:"column:ID;primaryKey" json:"ID" form:"id" url:"id"` PayWebType int `gorm:"column:Pay_WebType;default:0" json:"Pay_WebType" form:"oper_type" url:"oper_type"` // 1.整形 2.眼科 PayType int `gorm:"column:Pay_Type;default:0" json:"Pay_Type" form:"fee_type" url:"fee_type"` // 0.正常 1.公单...
**Describe the bug** Schema supportet Reader dont respect "required" tag **To Reproduce** https://github.com/kataras/iris/blob/master/_examples/request-body/read-query/main.go < don't send a query with name in it -> no error **Expected behavior** Requests without the...
**Is your feature request related to a problem? Please describe.** when I upload a large files ,It's may cost too large memory **Describe the solution you'd like** separate the file...
here is my code main.go ```golang app := iris.New() l := logrus.New() l.SetReportCaller(true) l.SetFormatter(&logrus.JSONFormatter{}) app.Logger().Install(l) app.Logger().Println(123) ``` i got this ```linux {"file":"/Users/sado/go/pkg/mod/github.com/kataras/[email protected]/integration.go:28","func":"github.com/kataras/golog.integrateExternalLogger.func1","level":"info","msg":"123","time":"2020-12-05T11:41:27+08:00"} ``` when i use this in my router...
SPA routing
I'm setting up an SPA application using Vue Router with the history mode, so I'd like to redirect all non-static-file requests to the static index.html file served by `app.HandleDir("/", "./frontend/dist")`....
Hi, AFAIK, in a RESTful API design, we can specify update only for specific fields. For example, say that I have items with these following fields: - `name` - `description`...
I noticed a couple of potential issues which might be hard to debug, for people using RemoteAddr() functions. 1. It does not seem to me that this comparison in `context.go`...