fatedier 0f1005ff61 using glide | il y a 7 ans | |
---|---|---|
.. | ||
public | il y a 7 ans | |
README.md | il y a 7 ans | |
main.go | il y a 7 ans |
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.