/*
-SGBlog -- Git-backed CGI/inetd blogging/phlogging engine
+SGBlog -- Git-backed CGI/UCSPI blogging/phlogging/gemlogging engine
Copyright (C) 2020-2021 Sergey Matveev <stargrave@stargrave.org>
This program is free software: you can redistribute it and/or modify
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-// Git-backed CGI/inetd blogging/phlogging engine
+// Git-backed CGI/UCSPI blogging/phlogging/gemlogging engine
package main
import (
log.Fatal(err)
}
if _, err = recfileW.WriteFields(
- recfile.Field{"From", from},
- recfile.Field{"Date", time.Now().UTC().Format(sgblog.WhenFmt)},
+ recfile.Field{Name: "From", Value: from},
+ recfile.Field{Name: "Date", Value: time.Now().UTC().Format(sgblog.WhenFmt)},
); err != nil {
log.Fatal(err)
}