mirror of
https://github.com/astaxie/beego.git
synced 2024-11-23 03:20:55 +00:00
commit
1760f0ceca
10
README.md
10
README.md
@ -9,12 +9,12 @@ It is inspired by Tornado, Sinatra and Flask. beego has some Go-specific feature
|
|||||||
|
|
||||||
More info [beego.me](http://beego.me)
|
More info [beego.me](http://beego.me)
|
||||||
|
|
||||||
##Quick Start
|
## Quick Start
|
||||||
######Download and install
|
###### Download and install
|
||||||
|
|
||||||
go get github.com/astaxie/beego
|
go get github.com/astaxie/beego
|
||||||
|
|
||||||
######Create file `hello.go`
|
###### Create file `hello.go`
|
||||||
```go
|
```go
|
||||||
package main
|
package main
|
||||||
|
|
||||||
@ -24,12 +24,12 @@ func main(){
|
|||||||
beego.Run()
|
beego.Run()
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
######Build and run
|
###### Build and run
|
||||||
```bash
|
```bash
|
||||||
go build hello.go
|
go build hello.go
|
||||||
./hello
|
./hello
|
||||||
```
|
```
|
||||||
######Congratulations!
|
###### Congratulations!
|
||||||
You just built your first beego app.
|
You just built your first beego app.
|
||||||
Open your browser and visit `http://localhost:8080`.
|
Open your browser and visit `http://localhost:8080`.
|
||||||
Please see [Documentation](http://beego.me/docs) for more.
|
Please see [Documentation](http://beego.me/docs) for more.
|
||||||
|
Loading…
Reference in New Issue
Block a user