-
Notifications
You must be signed in to change notification settings - Fork 1
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
VDB-963 cat file flip #249
base: staging
Are you sure you want to change the base?
Conversation
67e2a51
to
90c08cd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -17,6 +17,7 @@ | |||
package queries | |||
|
|||
import ( | |||
"github.com/vulcanize/vulcanizedb/libraries/shared/factories/event" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
discovered a new trick (don't know how it took me this long...): goimports -w <dir>
Don't need to apply it to these files as part of this PR, but I'd love to add that to make test
+ CI so that we can stop worrying about where the imports are going
@@ -88,10 +89,12 @@ var _ = Describe("Ilk File Events Query", func() { | |||
|
|||
catFileFlipLog := test_data.CreateTestLog(headerOneId, db) | |||
catFileFlip := test_data.CatFileFlipModel() | |||
catFileFlip.ForeignKeyValues[constants.IlkFK] = test_helpers.FakeIlk.Hex | |||
ilkId, createIlkError := shared.GetOrCreateIlk(test_helpers.FakeIlk.Hex, db) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
really minor, but golint
seems to prefer ID
to Id
and I'm tempted to follow that for all new code with the eventual goal of silencing the linter
No description provided.