-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
required package does not exist #10
Comments
Strange, it does exist 🤔 |
They've switched to |
It seems that issue is being discussed over here russross/blackfriday#587 |
So after a quick test, I can't reproduce.
// file: main.go
package main
import (
"fmt"
"github.com/Depado/bfchroma"
bf "github.com/russross/blackfriday/v2"
)
func main() {
md := []byte("# hello world")
html := bf.Run([]byte(md), bf.WithRenderer(bfchroma.NewRenderer()))
fmt.Println(string(html))
} $ go run main.go
<h1>hello world</h1> Even after I |
Start with an empty
|
Alright, I'm completely lost, if anyone has the knowledge to help me out with this one. Outside of a go module projectenv GOPATH=(mktemp -d -t gopath-XXXXXXXXXX) go get -v github.com/Depado/bfchroma
github.com/Depado/bfchroma (download)
github.com/alecthomas/chroma (download)
github.com/dlclark/regexp2 (download)
github.com/danwakefield/fnmatch (download)
github.com/russross/blackfriday (download)
package github.com/russross/blackfriday/v2: cannot find package "github.com/russross/blackfriday/v2" in any of:
/home/paul/go/src/github.com/russross/blackfriday/v2 (from $GOROOT)
/tmp/gopath-WHL5VOgK5F/src/github.com/russross/blackfriday/v2 (from $GOPATH) Inside a go module projectI'll reuse the one described in my latest comment: // file: go.mod
module github.com/Depado/bfchromatest
go 1.14
require (
github.com/Depado/bfchroma v1.2.0
github.com/alecthomas/chroma v0.7.3 // indirect
github.com/russross/blackfriday/v2 v2.0.1
)
I can't seem to figure out the difference between |
this package listed in go.mod does not exist: github.com/russross/blackfriday/v2
The text was updated successfully, but these errors were encountered: