Skip to content

Commit

Permalink
Add minimal go.mod, go.sum.
Browse files Browse the repository at this point in the history
The intention is to make it so that it's possible to import and use
this package from within Go modules (in addition to the well-supported
GOPATH workspace mode), and have it build without users having to
manually specify that github_flavored_markdown requires blackfriday v1.

Use the recently created blackfriday v1.5.2 tag.

Only specify the blackfriday version in go.mod and go.sum; others are
unspecified to avoid the added burden of maintaining and updating them.

Fixes #12.
Closes #20.
  • Loading branch information
dmitshur committed Sep 23, 2018
1 parent e51ad0a commit 42225cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/shurcooL/github_flavored_markdown

require github.com/russross/blackfriday v1.5.2
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github.com/russross/blackfriday v1.5.2 h1:HyvC0ARfnZBqnXwABFeSZHpKvJHJJfPz81GNueLj0oo=
github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g=

0 comments on commit 42225cc

Please sign in to comment.