On Thu, Oct 15, 2020 at 7:29 PM Kurtis Rader <kra...@skepticism.us> wrote:

> Works for me. Of course the actual error you're seeing is "The system
> cannot find the path specified", not "Linked picture". You're not checking
> the error returned by `os.MkdirAll` so I would presume that creating the
> directory "a" is failing on your system. Try printing the error returned by
> `os.MkdirAll`.
>

In fact, if I first create an empty file (not directory) named "a" on
Windows 10 then your program fails for me with the error shown in your
screen grab. Always check the error value returned by a function.

P.S., Please don't include screen grabs. Use a decent terminal that lets
you copy/paste the text displayed within it.

-- 
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CABx2%3DD_FR1aHexjsDHLhm9eLnnaMfi0vTBPhNk7RAA1b-cD8Dw%40mail.gmail.com.

Reply via email to