001-simple

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

The simplest example, the asset group maps one to one with the files in the ./static folder:

# run using the filesystem directly
# every file in ./static should be accessible
go run main.go
2022/08/03 22:05:15 [GET] /js/default.js 6.649649ms

Load one file:

curl http://localhost:6699/js/default.js
alert("Hello 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