diff options
| author | Jeff Carr <[email protected]> | 2025-10-12 01:07:00 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-12 01:07:00 -0500 |
| commit | 0c2423043d2ba9979dca951a61473925edd2def6 (patch) | |
| tree | afe49c47995f94bc3cc3b4d0644b534f20641328 /doShow.go | |
| parent | eebba5eb3120611e8006bba2a7efde9352de48d6 (diff) | |
Exit() callback works
Diffstat (limited to 'doShow.go')
| -rw-r--r-- | doShow.go | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -49,3 +49,16 @@ func doShow() (string, error) { } return footer, nil } + +func showUrls() bool { + if argv.Show == nil { + return false + } + if argv.Show.Repo == nil { + return false + } + if argv.Show.Repo.Urls != nil { + return true + } + return false +} |
