- 博客(3)
- 收藏
- 关注
原创 Go实现RESTful_API添加字段
Go实现RESTful_API添加字段 cd $GOPATH/src/github.com/kongyixueyuan.com/education/service 在domain.go中添加结构体: type User struct { UserName string `json:"username"` PassWord string `json:"password"` Age string `json:"age"` Phone string `json:"phone"` Email strin
2021-05-26 10:43:56
389
1
原创 Go实现RESTful_API
Go实现RESTful_API 下载安装第三方安装包: go get -u github.com/gorilla/mux cd $GOPATH/src/github.com/kongyixueyuan.com/education/web 修改/webServer.go 原代码: ```go func WebStart(app controller.Application) { fs:= http.FileServer(http.Dir("web/static")) http.Ha
2021-05-26 09:26:43
349
转载 Fabric搭建错误
fabric搭建错误解决 在搭建fabric环境时./byfn.sh up 时遇到错误Error: error getting endorser client for channel: endorser client failed to connect to peer0.org1.example.com:7051: failed to create new connection: context deadline exceeded 解决办法如下:在 /first-network/docker-compose
2021-05-12 15:27:03
602
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人