Skip to content

Commit

Permalink
Switching to semver instead of gopkg.in
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Lhussiez committed Dec 5, 2017
1 parent 255181d commit 7130586
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
8 changes: 7 additions & 1 deletion Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/Depado/bfchroma"
"github.com/alecthomas/chroma/formatters/html"

bf "gopkg.in/russross/blackfriday.v2"
bf "github.com/russross/blackfriday"
)

var md = "This is some sample code.\n\n```go\n" +
Expand All @@ -15,6 +15,7 @@ var md = "This is some sample code.\n\n```go\n" +
}
` + "```"


func main() {
var r *bfchroma.Renderer
var h []byte
Expand Down
2 changes: 1 addition & 1 deletion renderer.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/alecthomas/chroma/formatters/html"
"github.com/alecthomas/chroma/lexers"
"github.com/alecthomas/chroma/styles"
bf "gopkg.in/russross/blackfriday.v2"
bf "github.com/russross/blackfriday"
)

// Option defines the functional option type
Expand Down
3 changes: 1 addition & 2 deletions renderer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ import (
"github.com/alecthomas/chroma"
"github.com/alecthomas/chroma/formatters/html"
"github.com/alecthomas/chroma/styles"

bf "github.com/russross/blackfriday"
"github.com/stretchr/testify/assert"
bf "gopkg.in/russross/blackfriday.v2"
)

func TestExtend(t *testing.T) {
Expand Down

0 comments on commit 7130586

Please sign in to comment.