feat: initial commit
This commit is contained in:
parent
4c5511e596
commit
68832eaf35
4 changed files with 56 additions and 0 deletions
10
src/handlers/index/index.go
Normal file
10
src/handlers/index/index.go
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
package index
|
||||
|
||||
import (
|
||||
"github.com/valyala/fasthttp"
|
||||
)
|
||||
|
||||
func IndexHandler(ctx *fasthttp.RequestCtx) {
|
||||
ctx.SetContentType("text/html")
|
||||
ctx.WriteString("Hello World!")
|
||||
}
|
||||
Reference in a new issue