把struct 放入 json.Marshal(struct) 的方法中,會回傳byte slice; 透過 string(byteSlice) 把byte slice 轉成string 即可得到JSON; 在將struct 轉換 ...
確定! 回上一頁