-
-
Save parzibyte/f9a7f9142ee0ba8ce57ddc866fb8f7d4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func main() { | |
fmt.Println("Descargando...") | |
nombre, err := descargarArchivoDeInternet("https://github.com/parzibyte.png") | |
if err == nil { | |
fmt.Printf("Se descargó como %s", nombre) | |
} else { | |
fmt.Printf("Error: %v", err) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment