Hoverfly API 使用 Golang 存储库进行模拟:如何开始

Hoverfly API Simulations with Golang repositories: how to get started

我刚开始尝试将 Hoverfly and I have a Golang backend calling a number of 3rd party APIs for which I would need to create simulations. I am aware that Hoverfly has Java and Py bindings and I have come across a number of tutorials using Hoverfly with both. I think I am possibly missing very trivial point here, once I have created the simulations (via the Capture Mode), what is the next step? Do I simply create integration tests making use of them? Do you import the go package here 放入我的存储库?我在 examples 文件夹中寻找一些示例用法,我看到了更多 .py 驱动的。有没有我完全错过的可用示例?

谢谢

Golang测试可以看看hoverfly项目中的功能测试:https://github.com/SpectoLabs/hoverfly/tree/master/functional-tests,是用hoverfly来测试hoverfly!