fix
This commit is contained in:
parent
dc04fe694e
commit
83a6098724
|
@ -1,8 +1,6 @@
|
|||
{
|
||||
languages.go.enable = true;
|
||||
|
||||
# TODO test
|
||||
|
||||
pre-commit.hooks = {
|
||||
# Go
|
||||
gotest.enable = true;
|
||||
|
|
11
summary.go
11
summary.go
|
@ -57,13 +57,18 @@ func (b Binfo) Summarize(name string, version string, mode SummaryMode) string {
|
|||
|
||||
sb := new(strings.Builder)
|
||||
err := t.Execute(sb, params{
|
||||
Name: name,
|
||||
Version: version,
|
||||
|
||||
Module: wants(Module),
|
||||
Build: wants(Build),
|
||||
CGO: wants(CGO),
|
||||
VCS: wants(VCS),
|
||||
Brk: brk,
|
||||
Sep: sep,
|
||||
I: b,
|
||||
|
||||
Brk: brk,
|
||||
Sep: sep,
|
||||
|
||||
I: b,
|
||||
})
|
||||
if err != nil {
|
||||
return ""
|
||||
|
|
Loading…
Reference in a new issue