Learning example of how best to "business logic".
https://aws.github.io/aws-sdk-go-v2/docs/unit-testing/
- Use net.IP
- Avoid testify dependency?
- How to mock the http.Get to test error handling?
- Does it make any sense to test the handler function?
Learning example of how best to "business logic".
https://aws.github.io/aws-sdk-go-v2/docs/unit-testing/