Update href in thank you content
Changed the href value in thankYou content which alters where the link navigates to.
File renaming and changes
The file assets/views/pages/guestbook/addMessage.html was renamed and corresponding content blocks and post values were updated to reflect this change.
Class removal in guestbook.html
An unnecessary class specification was removed from a key element in assets/views/pages/guestbook.html.
Implementing route changes in guestbook handler
Adjusted GET and POST routes in handlers/guestbook.go. These changes alter how the website responds to user interaction and requests.
Update caching function in handlers/guestbook.go
Revised the caching function gbAddMessageSetCacheSettings in handlers/guestbook.go to change the cacheKey value.
Refactoring of rendering function
Refactored rendering function gbAddMessageRender in handlers/guestbook.go for better efficiency and accuracy.
Addition of timestamps to GuestbookRecord
Added timestamp fields 'created' and 'updated' to the GuestbookRecord struct, allowing us to track when entries were added or updated.
Inclusion of timestamps in GuestbookRecord functions
Updated InsertGuestbookRecord and UpdateGuestbookRecord functions to include new timestamp fields, enabling their population and execution during database queries.
PR Summary
href
value inthankYou
content which alters where the link navigates to.assets/views/pages/guestbook/addMessage.html
was renamed and corresponding content blocks and post values were updated to reflect this change.assets/views/pages/guestbook.html
.handlers/guestbook.go
. These changes alter how the website responds to user interaction and requests.gbAddMessageSetCacheSettings
inhandlers/guestbook.go
to change the cacheKey value.gbAddMessageRender
inhandlers/guestbook.go
for better efficiency and accuracy.GuestbookRecord
struct, allowing us to track when entries were added or updated.InsertGuestbookRecord
andUpdateGuestbookRecord
functions to include new timestamp fields, enabling their population and execution during database queries.