diff options
| author | Jeff Carr <[email protected]> | 2024-11-03 03:07:44 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-03 03:07:44 -0600 |
| commit | 50d4acb9c1c22cb97f81981d70e4a31a9e43136d (patch) | |
| tree | 764e2fec943da62a4b1805993be6967a2c87875d /indexHtml.go | |
| parent | f85d3226e065f13686bfd1e1b088df74399ca486 (diff) | |
ready to be switched to protobuf
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'indexHtml.go')
| -rw-r--r-- | indexHtml.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indexHtml.go b/indexHtml.go index 4b06ae6..a4df8b3 100644 --- a/indexHtml.go +++ b/indexHtml.go @@ -107,10 +107,10 @@ func indexBodyRepo(w http.ResponseWriter, gourl string, giturl string, desc stri tmp, _ := versionMap[gourl] parts := strings.Split(tmp, " ") if len(parts) > 0 { - version = parts[0] + vtime = parts[0] } if len(parts) > 1 { - vtime = parts[1] + version = parts[1] } if vtime != "" { |
