[ANN] epubgo: an epub library written in go

931 views
Skip to first unread message

Ruben Pollan

unread,
Apr 8, 2013, 8:56:07 AM4/8/13
to golang-nuts
I'm working on an epub reader library:
http://godoc.org/git.gitorious.org/go-pkg/epubgo.git

It's pretty stable and works fine for my usage.

If you see any problem with it or any way to improve it I'll be happy to hear
about it.

--
Rubén Pollán | http://meskio.net/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Nos vamos a Croatan.

tfa...@gmail.com

unread,
Apr 19, 2014, 3:09:10 PM4/19/14
to golan...@googlegroups.com, mes...@sindominio.net
Hi Ruben,

Thanks for the package. I get the following message when I try to install it:

# git.gitorious.org/go-pkg/epubgo.git

/usr/local/go/src/pkg/git.gitorious.org/go-pkg/epubgo.git/file.go:35: function ends without a return statement


Any thoughts?

minux

unread,
Apr 19, 2014, 8:02:11 PM4/19/14
to tfa...@gmail.com, Ruben Pollan, golang-nuts


On Apr 19, 2014 7:27 PM, <tfa...@gmail.com> wrote:
> Thanks for the package. I get the following message when I try to install it:
>
> # git.gitorious.org/go-pkg/epubgo.git
>
> /usr/local/go/src/pkg/git.gitorious.org/go-pkg/epubgo.git/file.go:35: function ends without a return statement

are you still using Go 1.0.x? time to upgrade now.

Tony Fagan

unread,
Apr 26, 2014, 10:57:51 PM4/26/14
to minux, Ruben Pollan, golang-nuts
Ah, thanks, upgrading fixed it. One more thing though. I tried your example and got this error:

./myepub.go:6: imported and not used: "git.gitorious.org/go-pkg/epubgo.git" as epubgo

./myepub.go:10: undefined: epub

Thanks for your help.

Ruben Pollan

unread,
May 7, 2014, 2:37:25 PM5/7/14
to Tony Fagan, minux, golang-nuts
Hello Tony,

Quoting Tony Fagan (2014-04-27 04:57:51)
> Ah, thanks, upgrading fixed it. One more thing though. I tried your example and
> got this error:
>
> ./myepub.go:6: imported and not used: "git.gitorious.org/go-pkg/epubgo.git" as
> epubgo
>
> ./myepub.go:10: undefined: epub

It looks like you are importing "epubgo", but try to use it as "epub" (missing
the 'go' at the end). Does replace epub for epubgo solve your problems?

Thanks for using epubgo, tell me if you find any more problems, there might be
bugs on it.


PS: I'm not in golang-nuts, I'm traveling and I can not catch up with the list.

--
Ruben Pollan | http://meskio.net/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
My contact info: http://meskio.net/crypto.txt
signature.asc
Reply all
Reply to author
Forward
0 new messages