Please put a tag that refer either commits that is after #64.
lufia opened this issue · 0 comments
lufia commented
In Go Modules (GO111MODULE=on
), to build octokit become an error.
For example, main.go that is very small Go code below:
package main
import (
_ "github.com/octokit/go-octokit/octokit"
)
func main() {
}
Then, to build this:
$ GO111MODULE=on go build
go: finding github.com/lostisland/go-sawyer/mediaheader latest
go: finding github.com/lostisland/go-sawyer latest
build lufia.org/test: cannot load github.com/lostisland/go-sawyer/mediaheader: cannot find module providing package github.com/lostisland/go-sawyer/mediaheader
This reason is, because Go Module uses latest tag that is v0.4.0, this is very old broken commit.