feat: 添加版本信息
This commit is contained in:
@@ -3,6 +3,7 @@ package main
|
||||
import (
|
||||
"ckwk/internal/router"
|
||||
"ckwk/pkg/log"
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
"go.uber.org/zap"
|
||||
@@ -11,6 +12,7 @@ import (
|
||||
func main() {
|
||||
router := router.SetupRouter()
|
||||
|
||||
fmt.Printf("启动服务: http://local.kmux.cn:8080\n")
|
||||
if err := http.ListenAndServe(
|
||||
":8080",
|
||||
router,
|
||||
|
||||
Reference in New Issue
Block a user