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

feat: add method GetIndexes #5436

Merged
merged 3 commits into from Jun 17, 2022
Merged

feat: add method GetIndexes #5436

merged 3 commits into from Jun 17, 2022

Conversation

qqxhb
Copy link
Member

@qqxhb qqxhb commented Jun 16, 2022

  • [] Do only one thing
  • [] Non breaking API changes
  • [] Tested

What did this pull request do?

User Case Description

@github-actions github-actions bot added type:not tested not tested type:breaking change breaking change labels Jun 16, 2022
migrator.go Show resolved Hide resolved
// Unique reports whether the index is unique or not.
func (idx Index) Unique() (unique bool, ok bool) {
return idx.UniqueValue.Bool, idx.UniqueValue.Valid

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[gofumpt] reported by reviewdog 🐶

Suggested change

@jinzhu jinzhu merged commit 1305f63 into master Jun 17, 2022
@jinzhu jinzhu deleted the feat_get_index branch June 17, 2022 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:breaking change breaking change type:not tested not tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants