Earlier quoted context omitted.
The file names are ingested as a string so there is no way they’re being interpreted by the Go runtime (and in fact, Go being a AOT compiles language rather than a dynamic one means it wouldn’t be possible for file names to conflict like described in the readme). This suggests to me that the author is misunderstanding why ‘&’ causes POSIX shells to do weird things. I think what’s happening is the author tried a web U…
No, I think the author doesn't understand how to urlencode parameters as the image URL is passed to the API like so: curl -s https://trace.moe/api/search?url=https://foobar/baz.jpg And in the project the URL is simply appended: https://github.com/irevenko/what-anime-cli/blob/main/cli/lin... The API provides both GET and POST methods of passing the image file or URL and the author has somehow mangled them both into on…
As first project though, it's a great learning exercise for the author. We all have to start somewhere.