vektah / dataloaden

go generate based DataLoader
MIT License
530 stars 79 forks source link

Add ability to specify output filename #32

Open felipemfp opened 5 years ago

felipemfp commented 5 years ago

Refactor default filename to snake_case, because useraddresssliceloader_gen.go is really unreadable.

Lemme know your thoughts on this one.

BTW, thanks you!

codecov[bot] commented 5 years ago

Codecov Report

Merging #32 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #32   +/-   ##
=======================================
  Coverage   85.57%   85.57%           
=======================================
  Files           2        2           
  Lines         104      104           
=======================================
  Hits           89       89           
  Misses         15       15
Impacted Files Coverage Δ
example/user_loader_gen.go 94.68% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9d6b85c...f003f3f. Read the comment docs.

blessedvictim commented 4 years ago

one note from my side.
i think don't need use strcase library. no need to add an extra dependency. What you think?