2014-08-22 05:32:54 +00:00
|
|
|
## Beego
|
2013-06-19 14:27:21 +00:00
|
|
|
|
|
|
|
[![Build Status](https://drone.io/github.com/astaxie/beego/status.png)](https://drone.io/github.com/astaxie/beego/latest)
|
2014-10-09 01:34:22 +00:00
|
|
|
[![GoDoc](http://godoc.org/github.com/astaxie/beego?status.svg)](http://godoc.org/github.com/astaxie/beego)
|
2013-06-19 14:27:21 +00:00
|
|
|
|
2015-02-02 14:33:27 +00:00
|
|
|
beego is an open-source, high-performance, modular, full-stack web framework.
|
2012-12-16 15:43:42 +00:00
|
|
|
|
2013-09-25 13:40:24 +00:00
|
|
|
More info [beego.me](http://beego.me)
|
2013-06-22 11:17:50 +00:00
|
|
|
|
2015-07-16 04:32:07 +00:00
|
|
|
##Quick Start
|
|
|
|
######Download and install
|
2014-08-22 05:32:54 +00:00
|
|
|
|
|
|
|
go get github.com/astaxie/beego
|
|
|
|
|
2015-07-16 04:32:07 +00:00
|
|
|
######Create file `hello.go`
|
|
|
|
```go
|
|
|
|
package main
|
|
|
|
|
|
|
|
import "github.com/astaxie/beego"
|
|
|
|
|
|
|
|
func main(){
|
|
|
|
beego.Run()
|
|
|
|
}
|
|
|
|
```
|
|
|
|
######Build and run
|
|
|
|
```bash
|
|
|
|
go build hello.go
|
|
|
|
./hello
|
|
|
|
```
|
|
|
|
######Congratulations!
|
|
|
|
You just built your first beego app.
|
|
|
|
Open your browser and visit `http://localhost:8000`.
|
|
|
|
Please see [Documentation](http://beego.me/docs) for more.
|
|
|
|
|
2013-06-22 11:17:50 +00:00
|
|
|
## Features
|
2012-12-16 15:43:42 +00:00
|
|
|
|
2013-12-22 07:56:15 +00:00
|
|
|
* RESTful support
|
2013-09-25 13:40:24 +00:00
|
|
|
* MVC architecture
|
2014-08-22 05:32:54 +00:00
|
|
|
* Modularity
|
|
|
|
* Auto API documents
|
|
|
|
* Annotation router
|
|
|
|
* Namespace
|
2015-02-02 14:33:59 +00:00
|
|
|
* Powerful development tools
|
2014-08-22 05:32:54 +00:00
|
|
|
* Full stack for Web & API
|
2013-06-22 11:17:50 +00:00
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
2014-08-22 05:32:54 +00:00
|
|
|
* [English](http://beego.me/docs/intro/)
|
|
|
|
* [中文文档](http://beego.me/docs/intro/)
|
2012-12-16 15:43:42 +00:00
|
|
|
|
2014-08-22 05:32:54 +00:00
|
|
|
## Community
|
2012-12-17 05:33:32 +00:00
|
|
|
|
2014-08-22 05:32:54 +00:00
|
|
|
* [http://beego.me/community](http://beego.me/community)
|
2013-06-21 08:40:58 +00:00
|
|
|
|
2013-05-08 04:31:37 +00:00
|
|
|
## LICENSE
|
2013-06-22 11:17:50 +00:00
|
|
|
|
2013-05-08 04:31:37 +00:00
|
|
|
beego is licensed under the Apache Licence, Version 2.0
|
2014-08-22 05:32:54 +00:00
|
|
|
(http://www.apache.org/licenses/LICENSE-2.0.html).
|