演示:我的Go游乐场

时间:2021-02-18 04:29:54
【文件属性】:
文件名称:演示:我的Go游乐场
文件大小:25KB
文件格式:ZIP
更新时间:2021-02-18 04:29:54
Go 演示 我自己的演示项目,用于研究Go语言和一些最常见用例的库(至少对我而言): 与Apache Kafka交互(使用sarama) 公开REST API(使用gin) 将实体保存到数据库(待添加) 目前,该项目的重点是公开两个端点(简单消息的GET / POST),并在Kafka上生成/使用这些消息。
【文件预览】:
go-demo-main
----.gitignore(282B)
----go.mod(896B)
----gin()
--------services()
--------models()
--------utils()
--------main.go(565B)
--------routers()
--------build.sh(37B)
--------handlers()
----logging()
--------logging.go(965B)
----tests.http(156B)
----go.sum(26KB)
----docker-files()
--------kafka-docker-compose.yml(379B)
----kafka()
--------services()
--------models()
--------utils()
--------main.go(331B)
--------build.sh(39B)
----readme.md(390B)
----.gitattributes(66B)
----gorm()
--------models()
--------main.go(1KB)

网友评论