From 93e9e4e43b964210e53e8f9455e44886dd6b2574 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 17 Dec 2024 06:36:45 -0600 Subject: [PATCH] changes in gitpb --- new.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/new.go b/new.go index a0e31a3..3864178 100644 --- a/new.go +++ b/new.go @@ -39,7 +39,7 @@ func SetWorkPath(path string) { // don't worry, you can think of it like Sierpinski carpet // it's doesn't need to be displayed so it'll work fine even in an embedded space func NewRepoStatusWindow(repo *gitpb.Repo) (*RepoStatus, error) { - path := repo.GoPath + path := repo.GetGoPath() if windowMap[path] == nil { log.Log(INFO, "NewRepoStatusWindow() adding new", path) } else { @@ -103,11 +103,11 @@ func NewRepoStatusWindow(repo *gitpb.Repo) (*RepoStatus, error) { rs.userWorkingName.SetText(rs.pb.GetUserBranchName()) rs.userBranchVersion.SetLabel(rs.pb.GetUserBranchName()) - if rs.pb.GoPath == "" { + if rs.pb.GetGoPath ()== "" { // not golang repo } else { rs.isGoLang.SetText("true") - rs.goPath.SetText(rs.pb.GoPath) + rs.goPath.SetText(rs.pb.GetGoPath()) } windowMap[path] = rs return rs, nil