example

command
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

README

How to run?

Run go generate to create a statical package that embeds the binary data underneath the public directory.

$ go generate

Once the statical package is generated, run the web server:

$ go run main.go

Visit http://localhost:8080/public/hello.txt to see the file.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package statical contains static assets.
Package statical contains static assets.

Jump to

Keyboard shortcuts

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