jfeliu007 / goplantuml

PlantUML Class Diagram Generator for golang projects
MIT License
1.77k stars 166 forks source link

Fix return parametrized error and added go Mod. #128

Closed jfeliu007 closed 2 years ago

jfeliu007 commented 2 years ago

Return code renderer was missing the loop to add multiple instances of the same type if there were multiple return named values with the same type in a list form. I also added support for go mod (Finally!) fixes #127 fixed #122 fixes #31

codecov[bot] commented 2 years ago

Codecov Report

Merging #128 (086cef0) into master (e70c9fa) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            master      #128    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files            5         5            
  Lines          516       625   +109     
==========================================
+ Hits           516       625   +109     
Impacted Files Coverage Δ
parser/class_parser.go 100.00% <100.00%> (ø)
parser/function.go 100.00% <100.00%> (ø)
parser/alias.go 100.00% <0.00%> (ø)
parser/field.go 100.00% <0.00%> (ø)
parser/struct.go 100.00% <0.00%> (ø)

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 b5ace1b...086cef0. Read the comment docs.