Skip to content

Commit

Permalink
Merge pull request #12 from maxzhang1985/dev
Browse files Browse the repository at this point in the history
readme
  • Loading branch information
yoyofx authored Nov 26, 2019
2 parents d333ab3 + 756a33b commit 70aeb6a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ YoyoGo is a simple, light and fast Web framework written in Go.

# Example
```golang
package main

import ...

func main() {
webHost := YoyoGo.CreateDefaultWebHostBuilder(os.Args, RouterConfigFunc).Build()
webHost.Run()
Expand Down Expand Up @@ -54,6 +58,8 @@ func RouterConfigFunc(router Router.IRouterBuilder) {
router.GET("/info", GetInfo)
}
```
![](./yoyorun.jpg)


# ToDo
## Standard
Expand Down

0 comments on commit 70aeb6a

Please sign in to comment.