Simplifying goGet function
This commit is contained in:
		@ -116,8 +116,7 @@ type CurDir struct {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func goGet(mod string) error {
 | 
					func goGet(mod string) error {
 | 
				
			||||||
	cmd := exec.Command("go", "get", mod)
 | 
						return exec.Command("go", "get", mod).Run()
 | 
				
			||||||
	return cmd.Run()
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func modInfoJSON(args ...string) []byte {
 | 
					func modInfoJSON(args ...string) []byte {
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user