mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
Iris is looking for a new website design and logo
This commit is contained in:
parent
54348e9cc5
commit
8cd1cc2ac8
|
@ -18,10 +18,6 @@
|
|||
[Language]: http://golang.org
|
||||
[Platform Widget]: https://img.shields.io/badge/platform-Any--OS-gray.svg?style=flat-square
|
||||
|
||||
Iris is 3 months baby which has succeeded to be the fastest go web framework that exists, so far, while providing a robust set of features for building web applications.
|
||||
|
||||
- [why v3 has 1 commit ?](https://github.com/kataras/iris/issues/162)
|
||||
|
||||
[![Benchmark Wizzard Processing Time Horizontal Graph](https://raw.githubusercontent.com/iris-contrib/website/cf71811e6acb2f9bf1e715e25660392bf090b923/assets/benchmark_horizontal_transparent.png)](#benchmarks)
|
||||
|
||||
```sh
|
||||
|
@ -90,6 +86,7 @@ If you'd like to discuss this package, or ask questions about it, feel free to
|
|||
|
||||
Open debates
|
||||
|
||||
- [Contribute: New website and logo for Iris](https://github.com/kataras/iris/issues/153)
|
||||
- [E-book Cover - Which one you suggest?](https://github.com/kataras/iris/issues/67)
|
||||
|
||||
**TIP** Be sure to read the [history](HISTORY.md) for Migrating from 2.x to 3.x.
|
||||
|
|
|
@ -48,6 +48,15 @@ type (
|
|||
HTML(status int, name string, binding interface{}, layout ...string) error
|
||||
// Render same as .HTML but with status to iris.StatusOK (200)
|
||||
Render(name string, binding interface{}, layout ...string) error
|
||||
// RenderString accepts a template filename, its context data and returns the result of the parsed template (string)
|
||||
RenderString(name string, binding interface{}, layout ...string) (result string, err error)
|
||||
// MarkdownString parses the (dynamic) markdown string and returns the converted html string
|
||||
MarkdownString(markdown string) string
|
||||
// Markdown parses and renders to the client a particular (dynamic) markdown string
|
||||
// accepts two parameters
|
||||
// first is the http status code
|
||||
// second is the markdown string
|
||||
Markdown(status int, markdown string)
|
||||
// JSON marshals the given interface object and writes the JSON response.
|
||||
JSON(status int, v interface{}) error
|
||||
// JSONP marshals the given interface object and writes the JSON response.
|
||||
|
|
|
@ -43,7 +43,7 @@ func (ctx *Context) Render(name string, binding interface{}, layout ...string) e
|
|||
return ctx.HTML(StatusOK, name, binding, layout...)
|
||||
}
|
||||
|
||||
// Render accepts a template filename, its context data and returns the result of the parsed template (string)
|
||||
// RenderStrings accepts a template filename, its context data and returns the result of the parsed template (string)
|
||||
func (ctx *Context) RenderString(name string, binding interface{}, layout ...string) (result string, err error) {
|
||||
return ctx.station.templates.RenderString(name, binding, layout...)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user