Go語言建立一個最簡單的服務端點

handlers/handlers.go package handlers import ( "encoding/json" "net/http" ) func Routes() { http.HandleFunc("/sendjson", SendJSON) } func SendJSON(rw http.ResponseWriter, r *http.Request) { u :
相關文章
相關標籤/搜索