2017-11-25 19:23:46 +02:00
# Beego [![Build Status](https://travis-ci.org/astaxie/beego.svg?branch=master)](https://travis-ci.org/astaxie/beego) [![GoDoc](http://godoc.org/github.com/astaxie/beego?status.svg)](http://godoc.org/github.com/astaxie/beego) [![Foundation](https://img.shields.io/badge/Golang-Foundation-green.svg)](http://golangfoundation.org) [![Go Report Card](https://goreportcard.com/badge/github.com/astaxie/beego)](https://goreportcard.com/report/github.com/astaxie/beego)
2013-06-19 22:27:21 +08:00
2015-07-18 10:09:22 +00:00
beego is used for rapid development of RESTful APIs, web apps and backend services in Go.
It is inspired by Tornado, Sinatra and Flask. beego has some Go-specific features such as interfaces and struct embedding.
2012-12-16 23:43:42 +08:00
2017-04-02 11:04:08 +02:00
###### More info at [beego.me](http://beego.me).
## Quick Start
2013-06-22 13:17:50 +02:00
2017-04-02 11:04:08 +02:00
#### Download and install
2014-08-22 13:32:54 +08:00
go get github.com/astaxie/beego
2017-04-02 11:04:08 +02:00
#### Create file `hello.go`
2015-07-16 04:32:07 +00:00
```go
package main
import "github.com/astaxie/beego"
func main(){
beego.Run()
}
```
2017-04-02 11:04:08 +02:00
#### Build and run
2015-07-16 04:32:07 +00:00
go build hello.go
./hello
2017-04-02 11:04:08 +02:00
#### Go to [http://localhost:8080](http://localhost:8080)
Congratulations! You've just built your first **beego** app.
###### Please see [Documentation](http://beego.me/docs) for more.
2015-07-16 04:32:07 +00:00
2013-06-22 13:17:50 +02:00
## Features
2012-12-16 23:43:42 +08:00
2013-12-22 15:56:15 +08:00
* RESTful support
2013-09-25 09:40:24 -04:00
* MVC architecture
2014-08-22 13:32:54 +08:00
* Modularity
* Auto API documents
* Annotation router
* Namespace
2015-02-02 09:33:59 -05:00
* Powerful development tools
2014-08-22 13:32:54 +08:00
* Full stack for Web & API
2013-06-22 13:17:50 +02:00
## Documentation
2014-08-22 13:32:54 +08:00
* [English ](http://beego.me/docs/intro/ )
* [中文文档 ](http://beego.me/docs/intro/ )
2015-12-26 16:43:49 +03:00
* [Русский ](http://beego.me/docs/intro/ )
2012-12-16 23:43:42 +08:00
2014-08-22 13:32:54 +08:00
## Community
2012-12-17 13:33:32 +08:00
2014-08-22 13:32:54 +08:00
* [http://beego.me/community ](http://beego.me/community )
2016-02-02 23:34:32 +08:00
* Welcome to join us in Slack: [https://beego.slack.com ](https://beego.slack.com ), you can get invited from [here ](https://github.com/beego/beedoc/issues/232 )
2013-06-21 10:40:58 +02:00
2017-04-02 11:04:08 +02:00
## License
2013-06-22 13:17:50 +02:00
2016-01-13 22:20:34 +08:00
beego source code is licensed under the Apache Licence, Version 2.0
2014-08-22 13:32:54 +08:00
(http://www.apache.org/licenses/LICENSE-2.0.html).