Use sql database instead of bolt

This commit is contained in:
Daan Sprenkels committed 2020-10-25 17:33:51 +01:00
1 parent f36fa30eff
commit 0048004252
17 files changed
+1101 -105

No files matched your search

+2 -2
View File
@@ -6,10 +6,10 @@ with delete token: {{.RootURL}}/{{.Paste.Key}}{{.FileExt}}?deleteToken={{.Paste.
with delete token: <unknown>
{{end -}}type: {{.Paste.Type}}
state: {{.Paste.State}}
{{if .Paste.TimeCreated.IsZero -}}
{{if .Paste.CreatedAt.IsZero -}}
created: unknown
{{else -}}
created: {{.Paste.TimeCreated}}
created: {{.Paste.CreatedAt}}
{{end -}}
delete token: {{.CanDeleteString}}