statik

command
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 7 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
Package statik contains static assets.
Package statik contains static assets.

Jump to

Keyboard shortcuts

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