Skip to content

Commit 00336b7

Browse files
committed
base working setup
0 parents  commit 00336b7

File tree

6 files changed

+659
-0
lines changed

6 files changed

+659
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Code Complexity Visualizer
2+
3+
A tool to analyze and visualize code complexity metrics for Go programs.

analyzer/complexity.go

Lines changed: 231 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,231 @@
1+
package analyzer
2+
3+
import (
4+
"go/ast"
5+
"go/parser"
6+
"go/token"
7+
"math"
8+
)
9+
10+
// Operator represents a unique operator in Halstead metrics
11+
type Operator struct {
12+
Token token.Token
13+
Name string
14+
Frequency int
15+
}
16+
17+
// Operand represents a unique operand in Halstead metrics
18+
type Operand struct {
19+
Name string
20+
Frequency int
21+
}
22+
23+
// MetricsResult stores the complexity metrics for a single file or function
24+
type MetricsResult struct {
25+
Name string `json:"name"`
26+
CyclomaticComplexity int `json:"cyclomaticComplexity"`
27+
CognitiveComplexity int `json:"cognitiveComplexity"`
28+
LinesOfCode int `json:"linesOfCode"`
29+
HalsteadVolume float64 `json:"halsteadVolume"`
30+
HalsteadDifficulty float64 `json:"halsteadDifficulty"`
31+
HalsteadEffort float64 `json:"halsteadEffort"`
32+
MaintainabilityIndex float64 `json:"maintainabilityIndex"`
33+
NestingLevel int `json:"nestingLevel"`
34+
}
35+
36+
// FileAnalyzer handles the analysis of a single file
37+
type FileAnalyzer struct {
38+
fset *token.FileSet
39+
ast *ast.File
40+
}
41+
42+
// NewFileAnalyzer creates a new analyzer for the given file content
43+
func NewFileAnalyzer(filename string, content []byte) (*FileAnalyzer, error) {
44+
fset := token.NewFileSet()
45+
node, err := parser.ParseFile(fset, filename, content, parser.AllErrors)
46+
if err != nil {
47+
return nil, err
48+
}
49+
50+
return &FileAnalyzer{
51+
fset: fset,
52+
ast: node,
53+
}, nil
54+
}
55+
56+
// CalculateCyclomaticComplexity calculates McCabe's cyclomatic complexity
57+
func (fa *FileAnalyzer) CalculateCyclomaticComplexity(node ast.Node) int {
58+
complexity := 1 // Base complexity
59+
60+
ast.Inspect(node, func(n ast.Node) bool {
61+
switch n := n.(type) {
62+
case *ast.IfStmt, *ast.ForStmt, *ast.RangeStmt, *ast.CaseClause,
63+
*ast.CommClause:
64+
complexity++
65+
case *ast.BinaryExpr:
66+
if n.Op == token.LAND || n.Op == token.LOR {
67+
complexity++
68+
}
69+
}
70+
return true
71+
})
72+
73+
return complexity
74+
}
75+
76+
// CalculateCognitiveComplexity calculates cognitive complexity
77+
func (fa *FileAnalyzer) CalculateCognitiveComplexity(node ast.Node) int {
78+
complexity := 0
79+
nestingLevel := 0
80+
81+
var inspect func(ast.Node) bool
82+
inspect = func(n ast.Node) bool {
83+
switch n := n.(type) {
84+
case *ast.IfStmt:
85+
complexity += 1 + nestingLevel
86+
nestingLevel++
87+
ast.Inspect(n.Body, inspect)
88+
if n.Else != nil {
89+
complexity++
90+
ast.Inspect(n.Else, inspect)
91+
}
92+
nestingLevel--
93+
return false
94+
case *ast.ForStmt, *ast.RangeStmt:
95+
complexity += 1 + nestingLevel
96+
nestingLevel++
97+
ast.Inspect(n, inspect)
98+
nestingLevel--
99+
return false
100+
case *ast.SwitchStmt:
101+
complexity += 1 + nestingLevel
102+
nestingLevel++
103+
ast.Inspect(n, inspect)
104+
nestingLevel--
105+
return false
106+
}
107+
return true
108+
}
109+
110+
ast.Inspect(node, inspect)
111+
return complexity
112+
}
113+
114+
// calculateHalsteadMetrics calculates Halstead complexity metrics
115+
func (fa *FileAnalyzer) calculateHalsteadMetrics(node ast.Node) (volume, difficulty, effort float64) {
116+
operators := make(map[token.Token]int)
117+
operands := make(map[string]int)
118+
119+
ast.Inspect(node, func(n ast.Node) bool {
120+
switch n := n.(type) {
121+
case *ast.BinaryExpr:
122+
operators[n.Op]++
123+
case *ast.UnaryExpr:
124+
operators[n.Op]++
125+
case *ast.Ident:
126+
operands[n.Name]++
127+
case *ast.BasicLit:
128+
operands[n.Value]++
129+
}
130+
return true
131+
})
132+
133+
n1 := float64(len(operators)) // unique operators
134+
n2 := float64(len(operands)) // unique operands
135+
N1 := float64(0) // total operators
136+
N2 := float64(0) // total operands
137+
138+
for _, count := range operators {
139+
N1 += float64(count)
140+
}
141+
for _, count := range operands {
142+
N2 += float64(count)
143+
}
144+
145+
vocabulary := n1 + n2
146+
length := N1 + N2
147+
volume = float64(length) * math.Log2(vocabulary)
148+
difficulty = (n1 / 2) * (N2 / n2)
149+
effort = difficulty * volume
150+
151+
return volume, difficulty, effort
152+
}
153+
154+
// CalculateMaintainabilityIndex calculates the maintainability index
155+
func (fa *FileAnalyzer) CalculateMaintainabilityIndex(cyclomatic int, halsteadVolume float64, linesOfCode int) float64 {
156+
// Original formula: MI = 171 - 5.2 * ln(HV) - 0.23 * CC - 16.2 * ln(LOC)
157+
mi := 171 - 5.2*math.Log(halsteadVolume) - 0.23*float64(cyclomatic) - 16.2*math.Log(float64(linesOfCode))
158+
// Normalize to 0-100 scale
159+
mi = math.Max(0, math.Min(100, mi*100/171))
160+
return mi
161+
}
162+
163+
// CountLinesOfCode counts the number of non-empty lines in a function
164+
func (fa *FileAnalyzer) CountLinesOfCode(node ast.Node) int {
165+
start := fa.fset.Position(node.Pos())
166+
end := fa.fset.Position(node.End())
167+
return end.Line - start.Line + 1
168+
}
169+
170+
// AnalyzeFunction analyzes a single function and returns its metrics
171+
func (fa *FileAnalyzer) AnalyzeFunction(funcDecl *ast.FuncDecl) *MetricsResult {
172+
// Add validation for nil function declaration
173+
if funcDecl == nil || funcDecl.Name == nil {
174+
return nil
175+
}
176+
177+
cyclomaticComplexity := fa.CalculateCyclomaticComplexity(funcDecl)
178+
cognitiveComplexity := fa.CalculateCognitiveComplexity(funcDecl)
179+
linesOfCode := fa.CountLinesOfCode(funcDecl)
180+
181+
volume, difficulty, effort := fa.calculateHalsteadMetrics(funcDecl)
182+
183+
// Add validation for edge cases
184+
if volume <= 0 {
185+
volume = 1 // Avoid log(0) in maintainability index calculation
186+
}
187+
if linesOfCode <= 0 {
188+
linesOfCode = 1
189+
}
190+
191+
maintainabilityIndex := fa.CalculateMaintainabilityIndex(cyclomaticComplexity, volume, linesOfCode)
192+
193+
// Ensure all metrics are valid
194+
if math.IsNaN(volume) || math.IsInf(volume, 0) {
195+
volume = 0
196+
}
197+
if math.IsNaN(difficulty) || math.IsInf(difficulty, 0) {
198+
difficulty = 0
199+
}
200+
if math.IsNaN(effort) || math.IsInf(effort, 0) {
201+
effort = 0
202+
}
203+
if math.IsNaN(maintainabilityIndex) || math.IsInf(maintainabilityIndex, 0) {
204+
maintainabilityIndex = 0
205+
}
206+
207+
return &MetricsResult{
208+
Name: funcDecl.Name.Name,
209+
CyclomaticComplexity: cyclomaticComplexity,
210+
CognitiveComplexity: cognitiveComplexity,
211+
LinesOfCode: linesOfCode,
212+
HalsteadVolume: math.Round(volume*100) / 100,
213+
HalsteadDifficulty: math.Round(difficulty*100) / 100,
214+
HalsteadEffort: math.Round(effort*100) / 100,
215+
MaintainabilityIndex: math.Round(maintainabilityIndex*100) / 100,
216+
}
217+
}
218+
219+
// AnalyzeFile analyzes the entire file and returns metrics for all functions
220+
func (fa *FileAnalyzer) AnalyzeFile() []*MetricsResult {
221+
var results []*MetricsResult
222+
223+
ast.Inspect(fa.ast, func(n ast.Node) bool {
224+
if funcDecl, ok := n.(*ast.FuncDecl); ok {
225+
results = append(results, fa.AnalyzeFunction(funcDecl))
226+
}
227+
return true
228+
})
229+
230+
return results
231+
}

go.mod

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
module github.com/aman/code-complexity-viz
2+
3+
go 1.22.11
4+
5+
require (
6+
github.com/bytedance/sonic v1.11.6 // indirect
7+
github.com/bytedance/sonic/loader v0.1.1 // indirect
8+
github.com/cloudwego/base64x v0.1.4 // indirect
9+
github.com/cloudwego/iasm v0.2.0 // indirect
10+
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
11+
github.com/gin-contrib/sse v0.1.0 // indirect
12+
github.com/gin-gonic/gin v1.10.0 // indirect
13+
github.com/go-playground/locales v0.14.1 // indirect
14+
github.com/go-playground/universal-translator v0.18.1 // indirect
15+
github.com/go-playground/validator/v10 v10.20.0 // indirect
16+
github.com/goccy/go-json v0.10.2 // indirect
17+
github.com/json-iterator/go v1.1.12 // indirect
18+
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
19+
github.com/leodido/go-urn v1.4.0 // indirect
20+
github.com/mattn/go-isatty v0.0.20 // indirect
21+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
22+
github.com/modern-go/reflect2 v1.0.2 // indirect
23+
github.com/pelletier/go-toml/v2 v2.2.2 // indirect
24+
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
25+
github.com/ugorji/go/codec v1.2.12 // indirect
26+
golang.org/x/arch v0.8.0 // indirect
27+
golang.org/x/crypto v0.23.0 // indirect
28+
golang.org/x/net v0.25.0 // indirect
29+
golang.org/x/sys v0.20.0 // indirect
30+
golang.org/x/text v0.15.0 // indirect
31+
google.golang.org/protobuf v1.34.1 // indirect
32+
gopkg.in/yaml.v3 v3.0.1 // indirect
33+
)

go.sum

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
github.com/bytedance/sonic v1.11.6 h1:oUp34TzMlL+OY1OUWxHqsdkgC/Zfc85zGqw9siXjrc0=
2+
github.com/bytedance/sonic v1.11.6/go.mod h1:LysEHSvpvDySVdC2f87zGWf6CIKJcAvqab1ZaiQtds4=
3+
github.com/bytedance/sonic/loader v0.1.1 h1:c+e5Pt1k/cy5wMveRDyk2X4B9hF4g7an8N3zCYjJFNM=
4+
github.com/bytedance/sonic/loader v0.1.1/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU=
5+
github.com/cloudwego/base64x v0.1.4 h1:jwCgWpFanWmN8xoIUHa2rtzmkd5J2plF/dnLS6Xd/0Y=
6+
github.com/cloudwego/base64x v0.1.4/go.mod h1:0zlkT4Wn5C6NdauXdJRhSKRlJvmclQ1hhJgA0rcu/8w=
7+
github.com/cloudwego/iasm v0.2.0 h1:1KNIy1I1H9hNNFEEH3DVnI4UujN+1zjpuk6gwHLTssg=
8+
github.com/cloudwego/iasm v0.2.0/go.mod h1:8rXZaNYT2n95jn+zTI1sDr+IgcD2GVs0nlbbQPiEFhY=
9+
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
10+
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
11+
github.com/gabriel-vasile/mimetype v1.4.3 h1:in2uUcidCuFcDKtdcBxlR0rJ1+fsokWf+uqxgUFjbI0=
12+
github.com/gabriel-vasile/mimetype v1.4.3/go.mod h1:d8uq/6HKRL6CGdk+aubisF/M5GcPfT7nKyLpA0lbSSk=
13+
github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE=
14+
github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI=
15+
github.com/gin-gonic/gin v1.10.0 h1:nTuyha1TYqgedzytsKYqna+DfLos46nTv2ygFy86HFU=
16+
github.com/gin-gonic/gin v1.10.0/go.mod h1:4PMNQiOhvDRa013RKVbsiNwoyezlm2rm0uX/T7kzp5Y=
17+
github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA=
18+
github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY=
19+
github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY=
20+
github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY=
21+
github.com/go-playground/validator/v10 v10.20.0 h1:K9ISHbSaI0lyB2eWMPJo+kOS/FBExVwjEviJTixqxL8=
22+
github.com/go-playground/validator/v10 v10.20.0/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM=
23+
github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU=
24+
github.com/goccy/go-json v0.10.2/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I=
25+
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
26+
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
27+
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
28+
github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
29+
github.com/klauspost/cpuid/v2 v2.2.7 h1:ZWSB3igEs+d0qvnxR/ZBzXVmxkgt8DdzP6m9pfuVLDM=
30+
github.com/klauspost/cpuid/v2 v2.2.7/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws=
31+
github.com/knz/go-libedit v1.10.1/go.mod h1:MZTVkCWyz0oBc7JOWP3wNAzd002ZbM/5hgShxwh4x8M=
32+
github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ=
33+
github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI=
34+
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
35+
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
36+
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
37+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
38+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
39+
github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M=
40+
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
41+
github.com/pelletier/go-toml/v2 v2.2.2 h1:aYUidT7k73Pcl9nb2gScu7NSrKCSHIDE89b3+6Wq+LM=
42+
github.com/pelletier/go-toml/v2 v2.2.2/go.mod h1:1t835xjRzz80PqgE6HHgN2JOsmgYu/h4qDAS4n929Rs=
43+
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
44+
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
45+
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
46+
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
47+
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
48+
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
49+
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
50+
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
51+
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
52+
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
53+
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
54+
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
55+
github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI=
56+
github.com/twitchyliquid64/golang-asm v0.15.1/go.mod h1:a1lVb/DtPvCB8fslRZhAngC2+aY1QWCk3Cedj/Gdt08=
57+
github.com/ugorji/go/codec v1.2.12 h1:9LC83zGrHhuUA9l16C9AHXAqEV/2wBQ4nkvumAE65EE=
58+
github.com/ugorji/go/codec v1.2.12/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZgYf6w6lg=
59+
golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
60+
golang.org/x/arch v0.8.0 h1:3wRIsP3pM4yUptoR96otTUOXI367OS0+c9eeRi9doIc=
61+
golang.org/x/arch v0.8.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys=
62+
golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI=
63+
golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8=
64+
golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
65+
golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
66+
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
67+
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
68+
golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
69+
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
70+
golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
71+
golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
72+
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
73+
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
74+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
75+
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
76+
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
77+
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
78+
nullprogram.com/x/optparse v1.0.0/go.mod h1:KdyPE+Igbe0jQUrVfMqDMeJQIJZEuyV7pjYmp6pbG50=
79+
rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4=

0 commit comments

Comments
 (0)