summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-17 15:49:12 -0600
committerJeff Carr <[email protected]>2024-02-17 15:49:12 -0600
commit4d1301288ea031d159f193e77f95849a98d97582 (patch)
tree4614bb1a89cb2df219b138d0bd201879ca9e1eac /common.go
parent0e26f2024af04dc4dc36cde77e561b9692b1a64f (diff)
export Status
Diffstat (limited to 'common.go')
-rw-r--r--common.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/common.go b/common.go
index 94e3a4b..4b2215a 100644
--- a/common.go
+++ b/common.go
@@ -36,6 +36,11 @@ func (rs *RepoStatus) String() string {
// returns the go path for the repo. "go.wit.com/apps/autotypist"
func (rs *RepoStatus) GoName() string {
+ return rs.GoPath()
+}
+
+// not sure which name is easier to remember. probably this one
+func (rs *RepoStatus) GoPath() string {
return rs.goSrcPath.String()
}