Skip to content

Instantly share code, notes, and snippets.

@cyantarek
Created June 18, 2019 15:58
Show Gist options
  • Save cyantarek/f201e932bf614513aa7ca6121be6ced9 to your computer and use it in GitHub Desktop.
Save cyantarek/f201e932bf614513aa7ca6121be6ced9 to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
"io/ioutil"
"log"
)
func main() {
f, err := ioutil.ReadFile("download.png")
if err != nil {
log.Fatal(err)
}
fmt.Printf("%b", f)
}
@Grhead
Copy link

Grhead commented Jun 11, 2023

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment