002-overlay

command
v0.0.0-...-f411b90 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: MIT Imports: 3 Imported by: 0

README

This example overlays an asset group on top of files in the static folder:

# run the overlay fs, where /main.js is a composite file made out of:
#   ./static/js/hello.js 
#   ./static/js/world.js
go run main.go
2022/08/03 22:05:15 [GET] /main.js 3.936115ms

Load one file:

curl http://localhost:6699/main.js
alert("hello!");
alert("world!!");

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