jfeliu007 / goplantuml

PlantUML Class Diagram Generator for golang projects
MIT License
1.78k stars 167 forks source link

Change the Parser to accept a file directory interface as the directo… #75

Closed jfeliu007 closed 4 years ago

jfeliu007 commented 4 years ago

…ries of the project instead of a string.

Fixes #48 Used the afero.Fs interface to allow for this. Now users of the library can implement this interface if they want to redirect this to a different FileSystem. The previous NewClassDiagram function is still supported and will, by default, inject the osFs into the options.

codecov[bot] commented 4 years ago

Codecov Report

Merging #75 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #75   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           5      5           
  Lines         526    535    +9     
=====================================
+ Hits          526    535    +9
Impacted Files Coverage Δ
parser/class_parser.go 100% <100%> (ø) :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 8f7983f...a0a66f6. Read the comment docs.