I am trying to use GoMock to mock the DriverWithContext functionality. How ever when I generate the mock it includes the following import : auth "github.com/neo4j/neo4j-go-driver/v5/neo4j/internal/auth"
This obviously doesn't work because of the internal package.
I would have hoped mocking tools in the Go ecosystem were able to evolve in the last 2 years to support private methods on interfaces but apparently not...