|  | @@ -394,8 +394,7 @@ func RepoAssignment(redirect bool, args ...bool) macaron.Handler {
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  		ctx.Data["CloneLink"] = ctx.Repo.CloneLink
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -		if ctx.Repo.Repository.IsGoget {
 | 
	
		
			
				|  |  | -			ctx.Data["GoGetLink"] = fmt.Sprintf("%s%s/%s", setting.AppUrl, u.LowerName, repo.LowerName)
 | 
	
		
			
				|  |  | +		if ctx.Query("go-get") == "1" {
 | 
	
		
			
				|  |  |  			ctx.Data["GoGetImport"] = fmt.Sprintf("%s/%s/%s", setting.Domain, u.LowerName, repo.LowerName)
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  
 |