摘要: 首先定义一个context 中间件: package middleware import ( "context" "fmt" "net/http" "strings" ) // ContextValue is a context key type ContextValue map[string]in 阅读全文
posted @ 2020-04-29 01:03 alpiny 阅读(2596) 评论(0) 推荐(0) 编辑