Serve Static Files In Golang
Constantin Druc ยท 02 Aug, 2024
In this video, I'll show you how to serve static files using Golang. We start with a website that fails to load a CSS file and an image. To fix this, we create a file server and set up a route to serve files from the "ui/static" directory. Then, we see how to serve protected files using eBook pdf file as example.
-
1Creating a simple Golang CLI app12:30
-
2Reading and saving GO structs as JSON files11:29
-
3Golang routing mistake02:30
-
4Golang routing - everything you need to know05:30
-
Serve Static Files In Golang02:35
-
6Building and structuring a Golang Web App using SQLite16:49
-
7Validate forms in Golang12:05
-
8Golang Authentication using Cookies23:35
-
9Golang CSRF protection06:45
-
10Configure your golang web app using command line flags04:31
-
1Creating a simple Golang CLI app12:30
-
2Reading and saving GO structs as JSON files11:29
-
3Golang routing mistake02:30
-
4Golang routing - everything you need to know05:30
-
Serve Static Files In Golang02:35
-
6Building and structuring a Golang Web App using SQLite16:49
-
7Validate forms in Golang12:05
-
8Golang Authentication using Cookies23:35
-
9Golang CSRF protection06:45
-
10Configure your golang web app using command line flags04:31