Pagination, readable error messages to user, syntax highlighting started.

Pagination now works. Temporary hardcoded 10 pastes per page, will be put
in configuration later. Maybe.

From now user will receive readable error message if error occured.

Started to work on syntax highlighting, tried to make lexers detection
work but apparently to no avail.
This commit is contained in:
2018-05-01 02:37:51 +05:00
parent 79c7d39759
commit 48d43ca097
221 changed files with 30321 additions and 29 deletions

55
vendor/github.com/alecthomas/chroma/lexers/k/kotlin.go generated vendored Normal file

File diff suppressed because one or more lines are too long