Is it possible to mock a function imported from a package in golang? Is it possible to mock a function imported from a package in golang? go go

Is it possible to mock a function imported from a package in golang?