from the example taken line of code,
client, err := openstack.NewIdentityV3(provider, gophercloud.EndpointOpts{
Region: "RegionOne",
})
when compiled, generates this error:
./main.go:86: assignment count mismatch: 2 = 1
./main.go:88: too many arguments in call to openstack.NewIdentityV3
have (gophercloud.ProviderClient, gophercloud.EndpointOpts)
want (gophercloud.ProviderClient)
from the example taken line of code, client, err := openstack.NewIdentityV3(provider, gophercloud.EndpointOpts{ Region: "RegionOne", }) when compiled, generates this error: ./main.go:86: assignment count mismatch: 2 = 1 ./main.go:88: too many arguments in call to openstack.NewIdentityV3 have (gophercloud.ProviderClient, gophercloud.EndpointOpts) want (gophercloud.ProviderClient)
Please advise where the issue is.