How to mock a global *radix.Pool variable for unit testing in GoLang? I’m working on a GoLang project which will implement unit testing moving forwards.