Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.3.8 has a compile time error #119

Closed
iamemilio opened this issue Jul 8, 2022 · 1 comment
Closed

v1.3.8 has a compile time error #119

iamemilio opened this issue Jul 8, 2022 · 1 comment
Assignees

Comments

@iamemilio
Copy link

	gormdb, err := gorm.Open(postgres.New(postgres.Config{
		DSN:        connectionString,
	}), &gorm.Config{})
	if err != nil {
		log.Fatal(err)
	}

results in:

# gorm.io/driver/postgres
../../../go/pkg/mod/gorm.io/driver/postgres@v1.3.8/migrator.go:617:57: undefined: gorm.Index
../../../go/pkg/mod/gorm.io/driver/postgres@v1.3.8/migrator.go:618:25: undefined: gorm.Index
../../../go/pkg/mod/gorm.io/driver/postgres@v1.3.8/migrator.go:628:25: undefined: migrator.Index
@x1nchen
Copy link
Contributor

x1nchen commented Jul 9, 2022

#118 I suppose the PR should fix this issue.

@jinzhu jinzhu closed this as completed Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants