摘要: 上传单个文件: 上传文件用POST方法,之前提到过的multipart/form-data编码格式,就是用于上传文件的,gin把go原生的request封装到了c.Request中 package main import ( "github.com/gin-gonic/gin" "fmt" "net 阅读全文
posted @ 2022-05-23 15:23 Mr.peter 阅读(815) 评论(0) 推荐(0) 编辑
摘要: https://dist.ipfs.io/#go-ipfs 解压压缩包,双击exe文件 浏览器输入http://127.0.0.1:5001/webui 阅读全文
posted @ 2022-05-23 10:41 Mr.peter 阅读(123) 评论(0) 推荐(0) 编辑