frp/vendor/github.com/rakyll/statik/example
2017-11-01 16:21:57 +08:00
..
public using glide 2017-11-01 16:21:57 +08:00
main.go using glide 2017-11-01 16:21:57 +08:00
README.md using glide 2017-11-01 16:21:57 +08:00

How to run?

Run statik on the root of this example project to generate source code with directory contents.

$ statik

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.