From 42225cc875b2f516a80e494d7408f359dcdd7d3f Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Sun, 23 Sep 2018 19:02:52 -0400 Subject: [PATCH] Add minimal go.mod, go.sum. 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. --- go.mod | 3 +++ go.sum | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 go.mod create mode 100644 go.sum diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..1bd7da0 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module github.com/shurcooL/github_flavored_markdown + +require github.com/russross/blackfriday v1.5.2 diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..f4c80c7 --- /dev/null +++ b/go.sum @@ -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=