summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 20:47:09 -0600
committerJeff Carr <[email protected]>2024-12-17 20:47:09 -0600
commitea14fc629d4f6261242f8e45489e40fc0d5330ae (patch)
tree09ed6104afc8628dac7ed5fab6336c834dc53376 /main.go
parent5434341272574da3baf8843c92c586b7429b468f (diff)
add SetGoPrimitive()v0.0.16
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 2564bf4..0de3a5a 100644
--- a/main.go
+++ b/main.go
@@ -91,7 +91,7 @@ func findPwdRepo() *gitpb.Repo {
func saveAsMetadata(repo *gitpb.Repo) error {
cname := repo.GetCurrentBranchName()
- if repo.GoInfo.GoPrimitive {
+ if repo.GetGoPrimitive() {
if err := repo.AutogenSave([]string{"go.mod"}, cname, true); err != nil {
return err
}