1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +02:00

Fixed broken build

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana 2015-04-18 22:00:44 -07:00
parent 141b4302ae
commit 566ed78c1e
4 changed files with 6 additions and 5 deletions

View File

@ -68,6 +68,7 @@ BenchmarkZeus_GithubAll 2000 752907 ns/op 300688 B/op 2648 all
## Examples
[labstack/echo/example](https://github.com/labstack/echo/tree/master/examples)
> Hello, World!
```go
package main

View File

@ -9,9 +9,8 @@ import (
"strings"
"sync"
"github.com/labstack/gommon/color"
"github.com/mattn/go-colorable"
"labstack.com/gommon/color"
)
type (

View File

@ -4,7 +4,7 @@ import (
"log"
"net/http"
"labstack.com/gommon/color"
"github.com/labstack/gommon/color"
)
type (

View File

@ -31,7 +31,7 @@ Echo is a fast HTTP router (zero memory allocation) and micro web framework in G
## Examples
#### Hello, World!
> Hello, World!
Create ```server.go``` with the following content:
```go
@ -65,7 +65,8 @@ func main() {
```go run server.go``` & browse to ```http://localhost:8080```
#### CRUD - Create, read, update and delete.
> CRUD - Create, read, update and delete.
- Create user
```curl -X POST -H "Content-Type: application/json" -d '{"name":"Joe"}' http://localhost:4444/users```
- Get user