扣剑书生 2022-03-08 17:12 采纳率: 0%
浏览 13

有没有go最新实战项目推荐啊 gopher们?

func guidMiddleware(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
uuid := uuid.New()
r = r.WithContext(context.WithValue(r.Context(), "uuid", uuid))
next.ServeHTTP(w, r)
})
}

  • 写回答

1条回答 默认 最新

  • GoFly开发者 2023-08-17 20:04
    关注

    可以试试这个https://goflys.cn/home

    评论 编辑记录

报告相同问题?

问题事件

  • 创建了问题 3月8日