Former-commit-id: 65fb09dd1504e850c2b9e177f4b68a7cec5ce924
5.2 KiB
Iris Web Framework
Iris is a fast, simple yet fully featured and very efficient web framework for Go.
It provides a beautifully expressive and easy to use foundation for your next website or API.
Learn what others saying about Iris and star this open-source project to support its potentials.
📖 Learning Iris
Quick start
# https://github.com/kataras/iris/wiki/Installation
$ go get github.com/kataras/iris/v12@latest
# assume the following code in example.go file
$ cat example.go
package main
import "github.com/kataras/iris/v12"
func main() {
app := iris.New()
app.Get("/ping", func(ctx iris.Context) {
ctx.JSON(iris.Map{
"message": "pong",
})
})
app.Listen(":8080")
}
# run example.go and
# visit http://localhost:8080/ping on browser
$ go run example.go
Routing is powered by muxie, the most powerful and fastest trie-based software written in Go.
Iris contains extensive and thorough wiki making it easy to get started with the framework.
For a more detailed technical documentation you can head over to our godocs. And for executable code you can always visit the _examples repository's subdirectory.
Do you like to read while traveling?
You can request a PDF version and online access of the E-Book today and be participated in the development of Iris.
🙌 Contributing
We'd love to see your contribution to the Iris Web Framework! For more information about contributing to the Iris project please check the CONTRIBUTING.md file.
🛡 Security Vulnerabilities
If you discover a security vulnerability within Iris, please send an e-mail to iris-go@outlook.com. All security vulnerabilities will be promptly addressed.
📝 License
This project is licensed under the BSD 3-clause license, just like the Go project itself.
The project name "Iris" was inspired by the Greek mythology.