You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ pwd
/home/lutz/go/src/github.com/lutzhorn/gofeed
$ go build
detector.go:7:2: use of internal package github.com/mmcdole/gofeed/internal/shared not allowed
I suggest to rename internal so that building in a fork is possible.
The text was updated successfully, but these errors were encountered:
I see how this could be a pain. I also don't feel especially strongly about the internal package, but I do believe I'm using it as intended, following Go conventions. Most of the items in internal are not meant to be exported or part of the public API for the library.
Here is an answer of how to possibly work on a fork, from another project that has a similar structure:
detector.go
imports an internal package:This makes it difficult to build main in a fork:
I suggest to rename
internal
so that building in a fork is possible.The text was updated successfully, but these errors were encountered: