Skip to content

Commit aa00e24

Browse files
author
Coderian
authored
Update README.md
1 parent fc38b99 commit aa00e24

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ package main
3434
import "github.com/coderianx/Flint"
3535

3636
func main() {
37-
app := flint.New()
37+
app := flint.NewServer()
3838

3939
app.Handle("/", func(c flint.Context) {
40-
ctx.String("Hello from Flint!")
40+
ctx.String(200, "Hello from Flint!")
4141
})
4242

43-
app.Listen(":8080")
43+
app.Run(":8080")
4444
}
4545
```
4646

4747
---
4848

49-
> Built with ❤️ using Go
49+
> Built with ❤️ using Go

0 commit comments

Comments
 (0)