init: 第一次提交

- 以实现登录获取个人信息和课程
- 实现了获取视频记录
- 实现了学习接口
This commit is contained in:
2026-03-25 22:39:44 +08:00
commit 858c29a799
19 changed files with 1541 additions and 0 deletions

20
cmd/agent/main.go Normal file
View File

@@ -0,0 +1,20 @@
package main
import (
"ckwk/internal/router"
"ckwk/pkg/log"
"net/http"
"go.uber.org/zap"
)
func main() {
router := router.SetupRouter()
if err := http.ListenAndServe(
":8080",
router,
); err != nil {
log.Error("服务启动失败", zap.Error(err))
}
}

5
cmd/server/main.go Normal file
View File

@@ -0,0 +1,5 @@
package main
func main() {
}