Files
url-shortener/server.go
T
2024-06-18 20:10:42 +00:00

17 lines
211 B
Go

package main
import "github.com/gofiber/fiber/v2"
func main(){
app := fiber.New()
app.Get("/", hello)
app.Listen(":3000")
}
func hello(c *fiber.Ctx) error {
c.SendString("Hello, World!")
return nil
}