vektah / dataloaden

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

Allow for rolling own binary #18

Closed codyleyhan closed 5 years ago

codyleyhan commented 5 years ago

This will allow individuals to now import the cmd package and create custom logic around when they want to generate the files. Should be backwards compatible with anyone using it the old way

References #17

codecov[bot] commented 5 years ago

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #18   +/-   ##
=======================================
  Coverage   86.51%   86.51%           
=======================================
  Files           2        2           
  Lines          89       89           
=======================================
  Hits           77       77           
  Misses         11       11           
  Partials        1        1
Impacted Files Coverage Δ
example/user.go 0% <ø> (ø) :arrow_up:

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 484aef2...28c43e5. Read the comment docs.

vektah commented 5 years ago

Going to merge https://github.com/vektah/dataloaden/pull/21 instead, the interface is cleaner.