aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--go.mod16
-rw-r--r--post/post.go1
2 files changed, 13 insertions, 4 deletions
diff --git a/go.mod b/go.mod
index d464523..2bafb97 100644
--- a/go.mod
+++ b/go.mod
@@ -1,14 +1,22 @@
module adammathes.com/snkt
-go 1.12
+go 1.21
+
+toolchain go1.22.1
require (
github.com/fsnotify/fsnotify v1.4.7
- github.com/microcosm-cc/bluemonday v1.0.2
+ github.com/microcosm-cc/bluemonday v1.0.26
github.com/ogier/pflag v0.0.1
github.com/russross/blackfriday v2.0.0+incompatible
github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd
- github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
- golang.org/x/sys v0.0.0-20190609082536-301114b31cce // indirect
gopkg.in/yaml.v2 v2.2.2
)
+
+require (
+ github.com/aymerick/douceur v0.2.0 // indirect
+ github.com/gorilla/css v1.0.0 // indirect
+ github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
+ golang.org/x/net v0.17.0 // indirect
+ golang.org/x/sys v0.13.0 // indirect
+)
diff --git a/post/post.go b/post/post.go
index b3eee51..a09ced1 100644
--- a/post/post.go
+++ b/post/post.go
@@ -12,6 +12,7 @@ import (
"github.com/microcosm-cc/bluemonday"
"github.com/russross/blackfriday"
"github.com/rwcarlsen/goexif/exif"
+ // "gopkg.in/russross/blackfriday.v2"
"io/ioutil"
"log"
"os"