Skip to content

go format#140

Merged
xujiajun merged 1 commit intonutsdb:masterfrom
moyrne:master
Apr 9, 2022
Merged

go format#140
xujiajun merged 1 commit intonutsdb:masterfrom
moyrne:master

Conversation

@moyrne
Copy link
Copy Markdown
Contributor

@moyrne moyrne commented Apr 7, 2022

format code comments
check error
set is a package. Revise set to txSet
Do we consider using the assert package instead of directly using t.Error in unit testing

@xujiajun
Copy link
Copy Markdown
Member

xujiajun commented Apr 8, 2022

@moyrne
1、First of all , thank you for submitting the PR
It is recommended that you submit PRs separately for refactoring and formatting, for easier review and faster merges.

2、 In addition, Revise set to txSet, I didn't understand why it was done

3、Do we consider using the assert package instead of directly using t.Error in unit testing

yes, unit tests will all use assert instead of the standard library, you can also contribute code if you are interested :)

@moyrne moyrne changed the title go format and check error go format Apr 8, 2022
@xujiajun
Copy link
Copy Markdown
Member

xujiajun commented Apr 9, 2022

@moyrne thanks LGTM 👍

@xujiajun xujiajun merged commit b867cde into nutsdb:master Apr 9, 2022
@xujiajun xujiajun mentioned this pull request Jun 17, 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

Successfully merging this pull request may close these issues.

2 participants