statik

command
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

README

How to run?

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

$ go generate

Once the statik 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

Jump to

Keyboard shortcuts

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