Commit Graph

116 Commits

Author SHA1 Message Date
Muyao CHEN
9911144aff Developping our own middleware 2024-06-28 13:33:43 +02:00
Muyao CHEN
e1b990dfd3 Using chi for routing 2024-06-28 13:14:05 +02:00
Muyao CHEN
daef31f070 Using pat for routing 2024-06-28 12:59:47 +02:00
Muyao CHEN
b9c8c2592d Sharing data with templates: correct import cycle 2024-06-28 10:48:52 +02:00
Muyao CHEN
668e88e578 Sharing data with templates: cycle import error 2024-06-28 10:40:47 +02:00
Muyao CHEN
1dd22ba8db Optimizing template cache by using an application config *** 2024-06-27 14:03:43 +02:00
Muyao CHEN
2391f5a160 Building a more complex template cache 2024-06-27 13:19:38 +02:00
Muyao CHEN
3eb7a210b2 Building a simple template cache 2024-06-26 22:50:04 +02:00
Muyao CHEN
10d4172f3c Working with layouts 2024-06-26 22:25:04 +02:00
Muyao CHEN
144e700b15 Refactoring code to use packages 2024-06-26 22:06:32 +02:00
Muyao CHEN
b207b9a293 Reorg code, add basic styling to pages 2024-06-26 21:56:58 +02:00
Muyao CHEN
92dc9975c7 change the main.go place 2024-06-26 18:12:51 +02:00
Muyao CHEN
ab6184e675 Serving HTML Templates 2024-06-26 18:10:56 +02:00
Muyao CHEN
4eefdfe47c Error checking 2024-06-26 17:49:08 +02:00
Muyao CHEN
20c6932200 functions and handlers 2024-06-26 17:41:50 +02:00
Muyao CHEN
54d1f91e7e Hello world 2024-06-26 17:30:39 +02:00