jfeliu007 / goplantuml

PlantUML Class Diagram Generator for golang projects
MIT License
1.84k stars 172 forks source link

panic: runtime error: index out of range at class_parser.go:196 #67

Closed jfeliu007 closed 4 years ago

jfeliu007 commented 4 years ago

Fixes #64 Added preventive code to make sure we do not panic when the Specs in the GenDecl is nil or empty

codecov[bot] commented 4 years ago

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #67   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           5      5           
  Lines         463    465    +2     
=====================================
+ Hits          463    465    +2
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 2958bbb...ac4c7fe. Read the comment docs.