Skip to content

Commit e6dd899

Browse files
committed
README
1 parent c772983 commit e6dd899

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,19 @@ go get -u github.com/godzillaframework/godzilla
1111

1212
# Examples:
1313
```golang
14+
package main
15+
16+
import "github.com/godzillaframework/godzilla"
17+
18+
func main() {
19+
gz := godzilla.New()
20+
21+
gz.Get("/index", func(ctx godzilla.Context) {
22+
ctx.SendString("Hello EveryOne!!!")
23+
})
24+
25+
gz.Start(":9090")
26+
}
1427
```
1528

1629
- for more tutorials visit the [docs](https://github.com/godzillaframework/godzilla/blob/master/docs/learngodzilla.md)

0 commit comments

Comments
 (0)