fatedier 0f1005ff61 using glide | 7 سال پیش | |
---|---|---|
.. | ||
public | 7 سال پیش | |
README.md | 7 سال پیش | |
main.go | 7 سال پیش |
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.