diff --git a/README.md b/README.md index 1eb6e3b3..b1b48e75 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,8 @@ [![Build Status](https://drone.io/github.com/astaxie/beego/status.png)](https://drone.io/github.com/astaxie/beego/latest) [![GoDoc](http://godoc.org/github.com/astaxie/beego?status.svg)](http://godoc.org/github.com/astaxie/beego) -beego is an open-source, high-performance, modular, full-stack web framework. +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. More info [beego.me](http://beego.me) diff --git a/beego.go b/beego.go index 8115a558..60483764 100644 --- a/beego.go +++ b/beego.go @@ -12,17 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -// beego is an open-source, high-performance, modular, full-stack web framework -// -// package main -// -// import "github.com/astaxie/beego" -// -// func main() { -// beego.Run() -// } -// -// more infomation: http://beego.me package beego import ( diff --git a/doc.go b/doc.go new file mode 100644 index 00000000..3a5b5cb8 --- /dev/null +++ b/doc.go @@ -0,0 +1,17 @@ +/* +beego: an open-source, high-performance, modular, full-stack web framework + +It is used for rapid development of RESTful APIs, web apps and backend services in Go. +beego is inspired by Tornado, Sinatra and Flask with the added benefit of some Go-specific features such as interfaces and struct embedding. + + package main + import "github.com/astaxie/beego" + + func main() { + beego.Run() + } + +more infomation: http://beego.me +*/ +package beego +