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