statik icon indicating copy to clipboard operation
statik copied to clipboard

Embed files into a Go executable

Results 40 statik issues
Sort by recently updated
recently updated
newest added

Fix #80 Signed-off-by: Robert-André Mauchin

This is a simple replace for statik.go to make the tool vendorable. With this change one can setup a `gen.go`: ``` package main import ( "github.com/rakyll/statik/cmd" ) func main() {...

Is there a way to serve the same files with hash in their name for aggressive caching?

I don't know if some rounding changed but I'm experiencing issues with Golang 1.13: ``` Testing in: /builddir/build/BUILD/statik-0.1.6/_build/src PATH: /builddir/build/BUILD/statik-0.1.6/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/statik-0.1.6/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler...

In the `rename` function the force overwrite flag is tested after a call to `os.Rename`, which succeeds in overwriting a file on OS X but not linux. (incoming PR to...

follow on #63 Currently, only dot files are skipped, files inside dot directory are not skipped. I do not know if this is the intended behavior, but I implement that...

Currently, there are almost the same code for zipping is written in statik.go and fs_test.go, and it is difficult to prove the correctness of the test. Therefore, I create the...

I'm not sure what I'm doing wrong, but statik always includes all files of the current working dir and seems to ignore my `src` parameter. Usage: statik -src=assets

This change wouldn't require people to depend on net/http binary size: without net/http: 2.4M with net/http: 6.7M Note: this would break existing user code(see example/main.go)