diff options
-rw-r--r-- | pkg/context/context.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/context/context.go b/pkg/context/context.go index 0b1ebbc7..1457b696 100644 --- a/pkg/context/context.go +++ b/pkg/context/context.go @@ -255,7 +255,7 @@ func Contexter() macaron.Handler { </body> </html> `, map[string]string{ - "GoGetImport": path.Join(setting.Domain, setting.AppSubURL, c.Link), + "GoGetImport": path.Join(setting.Domain, setting.AppSubURL, repo.FullName()), "CloneLink": models.ComposeHTTPSCloneURL(ownerName, repoName), "GoDocDirectory": prefix + "{/dir}", "GoDocFile": prefix + "{/dir}/{file}#L{line}", |