1 Star 1 Fork 0

teamlint / iris

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
BSD-3-Clause

Iris <img width="20px" src=""https://iris-go.com/images/flag-south-korea.svg" />

build status report card view examples chat release

Iris 是基于 Go 编写的一个快速,简单但功能齐全且非常高效的 Web 框架。 它为您的下一个网站或 API 提供了一个非常富有表现力且易于使用的基础。

看看 其他人如何评价 Iris,同时欢迎各位点亮 star

新版本 11.2 发布! 散布消息.

<<<<<<< HEAD 看看别人是如何评价 Iris,同时欢迎各位点亮 Iris Star,或者关注 Iris facebook 主页

学习 Iris

upstream/master

快速入门
# 假设文件已经存在
$ cat example.go
package main

import "github.com/teamlint/iris"

func main() {
    app := iris.Default()
    app.Get("/ping", func(ctx iris.Context) {
        ctx.JSON(iris.Map{
            "message": "pong",
        })
    })

    app.Run(iris.Addr(":8080"))
}
# 运行 example.go
# 在浏览器中访问 http://localhost:8080/ping
$ go run example.go

路由由 muxie 提供支持,muxie 是基于 Go 编写的最强大最快速的基于 trie 的路由

<<<<<<< HEAD

$ go get -u github.com/teamlint/iris

======= Iris 包含详细而完整的 文档,使你很容易开始使用该框架。

upstream/master

要了解更多详细的技术文档,可以访问我们的 godocs。对于可执行代码,可以随时访问示例代码,在仓库的 _examples 目录下。

你喜欢在旅行中看书吗?

你现在可以 获取 PDF版本和在线访问我们的 电子书 并参与 Iris 的开发。

https://iris-go.com/images/iris-book-overview.png

贡献

我们很高兴看到你对 Iris Web 框架的贡献!有关为 Iris 做出贡献的更多信息,请查看 CONTRIBUTING.md

所有贡献者名单

<<<<<<< HEAD

如何贡献代码

贡献者列表

学习

首先,从 Web 框架开始的最正确的方法是学习 Golang 标准库 net/http 的基础知识,如果您的 web 应用程序是一个非常简单的个人项目,没有性能和可维护性要求,您可能只需使用标准库即可。 之后,遵循以下指导原则:

Iris 入门

  1. snowlyg/IrisApiProject: Iris + gorm + jwt + sqlite3 NEW-Chinese
  2. yz124/superstar: Iris + xorm to implement the star library NEW-Chinese
  3. jebzmos4/Iris-golang: A basic CRUD API in golang with Iris
  4. gauravtiwari/go_iris_app: A basic web app built in Iris for Go
  5. A mini social-network created with the awesome Iris💖💖
  6. Iris isomorphic react/hot reloadable/redux/css-modules starter kit
  7. ionutvilie/react-ts: Demo project with react using typescript and Iris
  8. Self-hosted Localization Management Platform built with Iris and Angular
  9. Iris + Docker and Kubernetes
  10. nanobox.io: Quickstart for Iris with Nanobox
  11. hasura.io: A Hasura starter project with a ready to deploy Golang hello-world web app with IRIS

如果你有类似的使用经验吗 请提交给我们!

中间件

Iris 拥有大量的中间件 [1][2] 供您的 Web 应用程序使用。 不过,您并不局限于此,您可以自由使用与 net/http 包兼容的任何第三方中间件,相关示例 _examples/convert-handlers

相关文章(英文)

视频教程(英文) - Youtube

工作机会

=======

安全漏洞

upstream/master

如果你发现在 Iris 存在安全漏洞,请发送电子邮件至 iris-go@outlook.com,所有安全漏洞都会被及时解决。

授权协议

项目名称 "Iris" 的灵感来自于希腊神话。

Iris Web 框架授权基于 3-Clause BSD License 许可的免费开源软件。

Copyright (c) 2017-2019 The Iris Authors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Iris nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

简介

teamlint iris web framework. 展开 收起
Go
BSD-3-Clause
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Go
1
https://gitee.com/teamlint/iris.git
git@gitee.com:teamlint/iris.git
teamlint
iris
iris
master

搜索帮助