learn-go-with-tests icon indicating copy to clipboard operation
learn-go-with-tests copied to clipboard

About variable naming on "cleanDatabase"

Open yusufpapurcu opened this issue 2 years ago • 0 comments

This naming is used bellow "Build an Application" section. It is a variable which responsible for closing file handler. But using "cleanDatabase" is little bit confusing I think. We can convert them to "clearDatabase".

I know it's not even a typo but maybe it can be helpful for newcomers.

yusufpapurcu avatar Mar 06 '22 05:03 yusufpapurcu