Learn how to use the EnvTest controller-runtime package to test Kubernetes applications such as operators or controllers.Go: Testing Kubernetes Applications with EnvTest2023-11-27 in Go tagged Go / Kubernetes / kubectl / client-go / Testing / Test-Driven Development (TDD) / Operators by Marc Nuri
Step-by-step guide on how to create a kubectl plugin with Go and client-go to kill a Kubernetes Namespace stuck in the Terminating stateHow to create a kubectl plugin with client-go to kill a Kubernetes Namespace2023-11-20 in Go tagged Go / Kubernetes / kubectl / client-go by Marc Nuri
Guide to get started with Testcontainers for Go with a complete exampleGetting started with Testcontainers for Go2023-11-03 in Go tagged Go / Testcontainers / Testing / Test-Driven Development (TDD) / HTTP by Marc Nuri
How to test Gin-Gonic RESTful HTTP APIs using httptest package in GoTesting Go Gin Web Framework REST APIs with httptest2023-10-25 in Go tagged Go / Gin Web Framework / Testing / httptest / Test-Driven Development (TDD) by Marc Nuri
How to properly set up and tear down a Go unit test using Go's standard library for unit testingHow to set up and tear down unit tests in Go2023-10-12 in Go tagged Go / Testing / Test-Driven Development (TDD) by Marc Nuri
Learn how to initialize a new Go project with modules, set up its basic structure, and follow best practices for organizing your code.How to Initialize a New Go Project with Modules2020-02-22 in Go tagged Dependency Management / Go by Marc Nuri
Learn how to emulate enums in Go using custom types and constants. Enhance your enums with methods and code generation to simplify maintenance and add behavior.Enums in Go: An Alternative approach2020-02-11 in Go tagged Go by Marc Nuri
Learn how to implement sets in Go using maps. This lightweight guide explains how to create, manage, and use sets efficiently in your Go projects.How to use sets in Go2020-01-04 in Go tagged Go / Map by Marc Nuri