dubyte / dir2opds

Serve an OPDS based on a directory
GNU General Public License v3.0
59 stars 12 forks source link

Compilation error, go 1.6.2 linux/amd64 Ubuntu 16.04 #1

Closed AlbertoGP closed 7 years ago

AlbertoGP commented 7 years ago

Hi, just tried installing dir2opds: (XXX/go is $GOPATH)

~$ go get github.com/dubyte/dir2opds
# github.com/dubyte/dir2opds
XXX/go/src/github.com/dubyte/dir2opds/main.go:158: undefined: url.PathEscape
~$ go version
go version go1.6.2 linux/amd64

I haven't written any go code ever, but if you can't reproduce this I'm ready to spend a little time trying out your suggestions.

dubyte commented 7 years ago

Hi Albert:

I confirm that this happen, the problem is because url.PathEscape was introduced in go 1.7 for the moment I don't plan to support 1.6 compilation. But since you dont program in go. What do you think about a binay relese? that you can download here: https://github.com/dubyte/dir2opds/releases/download/v0.0.2/dir2opds_0.0.2_Linux-64bit.tar.gz

Sorry for this.