aboutsummaryrefslogtreecommitdiffhomepage
path: root/mpaste.go
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2022-10-11 10:40:25 +0200
committerThomas Voss <mail@thomasvoss.com> 2022-10-11 10:40:25 +0200
commit8c3277e7b9c3998e434ad95922b99e6eba8012b1 (patch)
tree25974bbbc163a80807a7aa8f0477cab3a60cd3d3 /mpaste.go
parent821fe0dc728bbe187735fb876bb9cf843e8e0a02 (diff)
Update to chroma v2 with sed support
Diffstat (limited to 'mpaste.go')
-rw-r--r--mpaste.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/mpaste.go b/mpaste.go
index c306878..9383b63 100644
--- a/mpaste.go
+++ b/mpaste.go
@@ -12,11 +12,11 @@ import (
"strings"
"sync"
- "github.com/Mango0x45/getgopt"
- "github.com/alecthomas/chroma/formatters/html"
- "github.com/alecthomas/chroma/lexers"
- "github.com/alecthomas/chroma/styles"
+ "github.com/alecthomas/chroma/v2/formatters/html"
+ "github.com/alecthomas/chroma/v2/lexers"
+ "github.com/alecthomas/chroma/v2/styles"
"github.com/dgrijalva/jwt-go"
+ "github.com/Mango0x45/getgopt"
)
const (