Pact Go的版本目前在beta并支持Pact v2规范。
Navigate through the side menu to learn more about using Pact with Golang, or head to the Go Pact website for more detail. 浏览侧边菜单,详细了解如何使用Pact的Golang版本,或者访问Go Pact 网站了解更多细节。
Pact Go代码库中有一个详细的Go Kit 例子,介绍如何使用Pact去测试Go Kit微服务。
还有一个Go版本的Pact(兼容pact v1.1),不需要运行一个守护进程。如果你不需要v2+的匹配以及运行守护进程,可以考虑使用或者为Pact Go贡献。