Stanislav N. aka pztrn
48d43ca097
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.
36 lines
940 B
Go
36 lines
940 B
Go
// Code generaTed by fileb0x at "2018-04-30 23:41:29.363654393 +0500 +05 m=+0.033742092" from config file "fileb0x.yml" DO NOT EDIT.
|
|
// modified(2018-04-30 23:39:44.086392054 +0500 +05)
|
|
// original path: assets/pagination_ellipsis.html
|
|
|
|
package static
|
|
|
|
import (
|
|
|
|
"os"
|
|
)
|
|
|
|
// FilePaginationEllipsisHTML is "/pagination_ellipsis.html"
|
|
var FilePaginationEllipsisHTML = []byte("\x3c\x6c\x69\x3e\x0a\x20\x20\x20\x20\x3c\x73\x70\x61\x6e\x20\x63\x6c\x61\x73\x73\x3d\x22\x70\x61\x67\x69\x6e\x61\x74\x69\x6f\x6e\x2d\x65\x6c\x6c\x69\x70\x73\x69\x73\x22\x3e\x26\x68\x65\x6c\x6c\x69\x70\x3b\x3c\x2f\x73\x70\x61\x6e\x3e\x0a\x3c\x2f\x6c\x69\x3e")
|
|
|
|
func init() {
|
|
|
|
|
|
f, err := FS.OpenFile(CTX, "/pagination_ellipsis.html", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0777)
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
|
|
|
|
_, err = f.Write(FilePaginationEllipsisHTML)
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
|
|
|
|
err = f.Close()
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
}
|
|
|