Skip to content

Commit c772983

Browse files
committed
docs
1 parent 42c312b commit c772983

File tree

4 files changed

+22
-27
lines changed

4 files changed

+22
-27
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ go get -u github.com/godzillaframework/godzilla
1313
```golang
1414
```
1515

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

docs/learngodzilla.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# learn how to use godzilla:
2+
3+
- godzilla is webframework that runs on any devices
4+
5+
- basic restapi
6+
```golang
7+
package main
8+
9+
import "github.com/godzillaframework/godzilla"
10+
11+
func main() {
12+
gz := godzilla.New()
13+
14+
gz.Get("/index", func(ctx godzilla.Context) {
15+
ctx.SendString("Hello EveryOne!!!")
16+
})
17+
18+
gz.Start(":9090")
19+
}
20+
21+
```

docs/learnwebfr.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

main_test.go

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)