Fix #1269 extract documentation

Fix #1271 Add description from docs on beego.me to README
and also add same description to godoc
This commit is contained in:
Mawuli Adzoe 2015-07-18 10:09:22 +00:00
parent 9775e3e3a4
commit b622d5d369
3 changed files with 19 additions and 12 deletions

View File

@ -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)

View File

@ -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 (

17
doc.go Normal file
View File

@ -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