思考一下http.ListenAndServe + echo+gorm+xorm的可行性?

什么是http.ListenAndServe?
什么是echo?
什么是gorm?
什么是xorm?

第一版:
http.ListenAndServe +gorm
第二版:
http.ListenAndServe + gorm + xorm

第三版:
echo + gorm + xorm

把go net/http替换为echo需要几步?

go get xorm.io/xorm

golang中init函数有什么用?

go import .和_是什么意思啊?

golang设置map?

go 怎么通过r *http.Request获取url数据

golang获取user-agent
r.Header.Get(“User-Agent”)
golang获取ip
x-forward-for
x-real-ip
r.RemoteAddr

posted @ 2022-03-06 10:37  叶常落  阅读(4)  评论(0编辑  收藏  举报