19 lines
323 B
Go
19 lines
323 B
Go
package main
|
|
|
|
import (
|
|
"git.icechen.cn/pkg/go-template/app/service/example_service/pkg/user"
|
|
"github.com/gofiber/fiber/v2"
|
|
)
|
|
|
|
func main() {
|
|
user.GetUser()
|
|
app := fiber.New()
|
|
app.Get("/test", func(c *fiber.Ctx) error {
|
|
return c.SendString("success")
|
|
})
|
|
err := app.Listen(":8080")
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
}
|