#Serve File

1 articles

04 Learn About Serve File

04 Learn About Serve File

Understanding File Server

In the material Creating Golang Web. So the Router also supports serving static files using the ServeFiles(Path, FileSystem) function where in Path we have to use Catch All Parameters. Meanwhile, in FileSystem you can manually load it from a folder or use Golang Embed as we discussed in the previous material.