Update chroma and make line numbers linkable.

Yet no links will be generated.

Related to #20.
This commit is contained in:
2020-02-29 23:39:09 +05:00
parent 825fd724ff
commit 3f9801b1bd
3 changed files with 12 additions and 2 deletions

8
go.mod
View File

@@ -3,10 +3,16 @@ module go.dev.pztrn.name/fastpastebin
go 1.13
require (
github.com/alecthomas/chroma v0.6.7
github.com/GeertJohan/go.rice v1.0.0 // indirect
github.com/alecthomas/chroma v0.7.2-0.20200226100338-e5d9650a20f5
github.com/alecthomas/kong-hcl v0.1.8-0.20190615233001-b21fea9723c8 // indirect
github.com/dchest/captcha v0.0.0-20170622155422-6a29415a8364
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
github.com/dlclark/regexp2 v1.2.0 // indirect
github.com/go-sql-driver/mysql v1.4.1
github.com/gorilla/csrf v1.6.0 // indirect
github.com/gorilla/handlers v1.4.1 // indirect
github.com/gorilla/mux v1.7.3 // indirect
github.com/jmoiron/sqlx v1.2.0
github.com/labstack/echo v3.3.10+incompatible
github.com/labstack/gommon v0.3.0 // indirect