1
0
mirror of https://github.com/taigrr/pastebin synced 2026-04-17 03:04:52 -07:00

Enables returning url for "Accept: text/plain" (#14)

* Update dependencies and go compile target version

* Adds deletion support to the server

* Add form around delete button

* Add support for returning the url in curl

Co-authored-by: James Mills <prologic@shortcircuit.net.au>
This commit is contained in:
2021-04-20 06:22:10 -07:00
committed by GitHub
parent 5ade7a0642
commit 12afabdad2
2 changed files with 3 additions and 0 deletions

1
go.mod
View File

@@ -5,6 +5,7 @@ go 1.16
require (
github.com/GeertJohan/go.rice v1.0.2
github.com/julienschmidt/httprouter v1.3.0
github.com/mitchellh/go-homedir v1.1.0
github.com/namsral/flag v1.7.4-pre
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475