服务端 package main import ( "net/http" "zdpgo_chi" "zdpgo_chi/middleware" ) func main() { // 创建路由 r := zdpgo_chi.NewRouter() // 使用请求ID中间件 r.Use