basically i want to save a file name in a file (with some url styling for 
human readability);

https://play.golang.org/p/sWYbyU7nuSo

which works, but not with a space in the name;

https://play.golang.org/p/sswqBRL8dZW

it needs to be quoted, so i figure '%q' is for this;


%q      a double-quoted string safely escaped with Go syntax
>
>

but it doesn't work;

https://play.golang.org/p/2QT-2UH4TsZ

how can the format not match, when its the same one? 

nothing else a can think of, like quotes in the format itself, does either, 
so i'm stuck.


-- 
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/cc663cb7-8282-4ede-8be2-3fcf15b35799%40googlegroups.com.

Reply via email to