From 96b850a52355a058876d8bc326734e3bd811a3c8 Mon Sep 17 00:00:00 2001 From: "David R. Jenni" Date: Mon, 26 Aug 2019 22:32:10 +0200 Subject: [PATCH] cmd/fillstruct: fix loading of module files. Fixes issue #31. --- cmd/fillstruct/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/fillstruct/main.go b/cmd/fillstruct/main.go index b9303f3..33bb321 100644 --- a/cmd/fillstruct/main.go +++ b/cmd/fillstruct/main.go @@ -120,7 +120,7 @@ func main() { Env: os.Environ(), } - pkgs, err := packages.Load(cfg, path) + pkgs, err := packages.Load(cfg) if err != nil { log.Fatal(err) }