Hello folks, hope you all are well.
I’m trying to create a Neo4j plugin for the database secret engine, I have some code ready and want to test it, so I created a
neo4j_test.go to validate it, but when I try to build the test I get this error below:
cannot use DB (variable of type *Neo4jconn) as dbplugin.Database value in argument to dbtesting.AssertClose: wrong type for method DeleteUser ( have func(ctx context.Context, req github.com/hashicorp/vault/sdk/database/dbplugin/v5.DeleteUserRequest) (resp github.com/hashicorp/vault/sdk/database/dbplugin/v5.DeleteUserResponse, err error), want func(ctx context.Context, req github.com/hashicorp/vault/vendor/github.com/hashicorp/vault/sdk/database/dbplugin/v5.DeleteUserRequest) (github.com/hashicorp/vault/vendor/github.com/hashicorp/vault/sdk/database/dbplugin/v5.DeleteUserResponse, error))
I’m still new to Golang but this looks like a library mismatch, any Ideas would be welcome.