Latest · AI Engineering
How to Test Go Code That Calls an LLM
Non-determinism does not have to mean untestable. Wrapping the model behind an interface, faking it in unit tests, golden files for prompt assembly, and the small…
4 articles
Practical Go and web development tutorials: concurrency, performance, backend architecture, testing and DevOps — with runnable code examples.
Latest · AI Engineering
Non-determinism does not have to mean untestable. Wrapping the model behind an interface, faking it in unit tests, golden files for prompt assembly, and the small…
Go Programming
A practical guide to Go error handling — wrapping with %w, sentinel errors, custom error types, errors.Is and errors.As, and where each one belongs in a real…
DevOps
Learn how to implement effective load testing for your web applications using the k6 tool and automate performance testing in your GitLab CI/CD pipeline.
Go Programming
Testing of functions with database interactions always was challenging. Recently, I found a wonderful library, which will simplify writing tests and mocking database…