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

Keep time if set, fix broken tests, run goimports #20

Merged
merged 1 commit into from
Nov 26, 2019
Merged

Keep time if set, fix broken tests, run goimports #20

merged 1 commit into from
Nov 26, 2019

Conversation

bombsimon
Copy link
Collaborator

  • Only set CreatedAt and UpdatedAt if the fields are blank.
  • Fix broken test not excluding "id" (due to missing tag)
  • Fix broken tests for fieldIsAutoIncrement, add new positive test
  • Run goimports -w on files
  • Updated dependencies

* Only set CreatedAt and UpdatedAt if the fields are blank.
* Fix broken test not excluding "id" (due to missing tag)
* Fix broken tests for `fieldIsAutoIncrement`, add new positive test
* Run `goimports -w` on files
* Updated dependencies
@t-tiger
Copy link
Owner

t-tiger commented Nov 26, 2019

Great job! Thanks for adding unit tests that correspond to the expected cases. Also solving the problem of setting the time manually that was mentioned #18.

Originally I'd like to integrate CI tool for the time of Pull Request, but it was my omission. I want to deal with it someday.

@t-tiger t-tiger merged commit 2b57f99 into t-tiger:master Nov 26, 2019
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

Successfully merging this pull request may close these issues.

None yet

2 participants