all repos — homestead @ cde569513cdb91e6f605c4240924d12f7e5d031a

Code for my website

use treefmt-nix to format everything

Alan Pearce
commit

cde569513cdb91e6f605c4240924d12f7e5d031a

parent

bab78381a9c54b809dc76144aa9f773d387bb621

1 file changed, 4 insertions(+), 2 deletions(-)

changed files
M domain/calendar/calendar.godomain/calendar/calendar.go
@@ -20,8 +20,10 @@ "alin.ovh/homestead/shared/cache"
"alin.ovh/homestead/shared/config" ) -const Filename = "calendar.ics" -const Refresh = 30 * time.Minute +const ( + Filename = "calendar.ics" + Refresh = 30 * time.Minute +) type Options struct { URL config.URL