commit d7aac8c04c397876d1e09505a77118097053b6d3
parent ad28a01f41899402786d5d4cbe697c551601cc7d
Author: Jack Mordaunt <jackmordaunt@gmail.com>
Date: Mon, 12 Feb 2018 15:24:34 +0100
[*] Typo fix.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/readme.md b/readme.md
@@ -38,7 +38,7 @@ func main() {
if err != nil {
log.Fatalf("decoding source image: %v", err)
}
- dest, err := os.Open("path/to/icon.icns")
+ dest, err := os.Create("path/to/icon.icns")
if err != nil {
log.Fatalf("opening destination file: %v", err)
}