Commit Graph

11 Commits

Author SHA1 Message Date
Daan Sprenkels
66eb0bf97a Add support for file uploads 2019-11-10 19:03:57 +01:00
2d2df99f75 Run go mod tidy 2019-11-08 10:40:31 +01:00
Daan Sprenkels
e193183f86 Allow internal server error using panic() 2019-10-15 23:19:45 +02:00
Daan Sprenkels
544c093c35 Use a more standardized project layout
In #2, mrngm made the point that we should move to a more
standardized project structure. This commit does exactly that.
The new project structure is based on the repository listed at
<https://github.com/golang-standards/project-layout>.

Fixes #2.
2019-09-10 17:52:45 +02:00
Daan Sprenkels
471a9c69db Run go mod tidy 2019-09-08 10:49:05 +02:00
Daan Sprenkels
8803281285 Put index in template 2019-09-06 00:17:50 +02:00
Daan Sprenkels
675245722f Revert "Format errors with HTML"
This reverts commit 80092dea5b.

After enabling both HTML and plain-text templating, I found that
this introduces a lot more complexity in the code than was desirable
for a project in this stage. The result looked fine, wrapping plain
text in <pre> tags. However, it was neccessary to keep duplicate
template files, for HTML and text. This was cumbersome, added a lot
of bloat, etc.

This feature is postponed to when there is more product.
2019-09-06 00:15:35 +02:00
Daan Sprenkels
80092dea5b Format errors with HTML 2019-09-05 23:07:54 +02:00
Daan Sprenkels
498c84541b Add a small prometheus exporter 2019-08-29 23:41:00 +02:00
Daan Sprenkels
061bb23625 Initial commit 2019-08-25 21:33:56 +02:00
Daan Sprenkels
881ae857cf Add go.mod file 2019-08-24 23:28:56 +02:00