Commit graph

7 commits

Author SHA1 Message Date
Ivan R. c8f8a7feb4
chore: log rendering errors 2024-04-01 23:55:43 +05:00
Ivan R. 6396c160f2
feat: export and import
The list of links can now be exported to a json file,
and later imported back.
2024-04-01 23:35:46 +05:00
Ivan R. 9a9a1af63e
feat: tile mode (#39)
Experimental mode for displaying links as tiles.
For consistency, I made the globe the default icon.
2024-04-01 22:38:23 +05:00
Ivan R. 101202b128
chore: trim spaces in the received data 2024-03-26 01:15:51 +05:00
Ivan R. 5aa2cee5b1
chore: migrate to database/sql
Since I started simplifying, I decided to abandon ORM.

I won’t say that this makes much sense, everything works more or less as before.
Except that the size of the program has decreased slightly again, by about a megabyte.
2024-03-26 00:40:52 +05:00
Ivan R. 76275010a8
test: check parsing of templates 2024-03-25 16:09:55 +05:00
Ivan R. 6d25c4e8af
feat!: migrate to net/http
With the release of Go 1.22, the standard library now has
all the necessary functions that allow us to abandon Gin.

I hope this rewrite will lower the entry barrier for new developers.
As a nice bonus, the size of the program has decreased from 20 to 15.4 MB.

To solve issue #81, request logging has been improved.
Now all errors are displayed in the logs.
2024-03-25 15:52:18 +05:00