Skip to content

Commit

Permalink
update example prest as web framework
Browse files Browse the repository at this point in the history
Signed-off-by: Avelino <t@avelino.xxx>
  • Loading branch information
avelino committed Sep 7, 2020
1 parent fe6c5c5 commit 7c3cf2b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/prest-as-web-framework/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ package main
import (
"net/http"

"github.com/prest/adapters/postgres"
"github.com/prest/cmd"
"github.com/prest/config"
"github.com/prest/config/router"
"github.com/prest/middlewares"
"github.com/prest/prest/adapters/postgres"
"github.com/prest/prest/cmd"
"github.com/prest/prest/config"
"github.com/prest/prest/config/router"
"github.com/prest/prest/middlewares"
)

func main() {
Expand All @@ -47,4 +47,4 @@ func main() {
func Pong(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("Pong!"))
}
```
```

0 comments on commit 7c3cf2b

Please sign in to comment.