Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
beego
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
beego
Commits
160d82d1
Commit
160d82d1
authored
Jul 16, 2015
by
astaxie
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1267 from wallclockbuilder/develop
Fix for #1256. Indent the code sample lines properly.
parents
3becd2e0
45d693e6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
6 deletions
+27
-6
README.md
README.md
+22
-1
beego.go
beego.go
+5
-5
No files found.
README.md
View file @
160d82d1
...
...
@@ -7,10 +7,31 @@ beego is an open-source, high-performance, modular, full-stack web framework.
More info
[
beego.me
](
http://beego.me
)
## Installation
##Quick Start
######Download and install
go get github.com/astaxie/beego
######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.
## Features
*
RESTful support
...
...
beego.go
View file @
160d82d1
...
...
@@ -14,13 +14,13 @@
// beego is an open-source, high-performance, modular, full-stack web framework
//
// package main
//
package main
//
// import "github.com/astaxie/beego"
//
import "github.com/astaxie/beego"
//
// func main() {
// beego.Run()
// }
//
func main() {
//
beego.Run()
//
}
//
// more infomation: http://beego.me
package
beego
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment