03-http-FileServer-Return-Type

command
v0.0.0-...-228c668 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 3 Imported by: 0

README

Serve the files in the "starting-files" folder

To get your images to serve, use only this:

	fs := http.FileServer(http.Dir("public"))

Hint: look to see what type FileServer returns, then think it through.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL