tectiv3 / standardfile

Standard File Server, Go Implementation
MIT License
99 stars 13 forks source link

Project initialization fail #3

Closed nicolasbadia closed 7 years ago

nicolasbadia commented 7 years ago

When I run go get github.com/tectiv3/standardfile, I get this error:

package github.com/go-playground/pure/examples/middleware/logging-recovery: cannot find package "github.com/go-playground/pure/examples/middleware/logging-recovery" in any of:
    /usr/lib/go-1.7/src/github.com/go-playground/pure/examples/middleware/logging-recovery (from $GOROOT)
    /opt/gocode/src/github.com/go-playground/pure/examples/middleware/logging-recovery (from $GOPATH)

The command ls -l /opt/gocode/src/github.com/go-playground/pure give:

total 164
-rw-r--r-- 1 root root  1876 Jul  3 17:05 constants.go
drwxr-xr-x 5 root root  4096 Jul  3 17:05 _examples
-rw-r--r-- 1 root root   308 Jul  3 17:05 form_decoder.go
-rw-r--r-- 1 root root  4752 Jul  3 17:05 group.go
-rw-r--r-- 1 root root  5421 Jul  3 17:05 group_test.go
-rw-r--r-- 1 root root 11345 Jul  3 17:05 helpers.go
-rw-r--r-- 1 root root 18552 Jul  3 17:05 helpers_test.go
-rw-r--r-- 1 root root  1097 Jul  3 17:05 LICENSE
-rw-r--r-- 1 root root 20797 Jul  3 17:05 logo.png
drwxr-xr-x 2 root root  4096 Jul  3 17:05 middleware
-rw-r--r-- 1 root root  9746 Jul  3 17:05 node.go
-rw-r--r-- 1 root root  2898 Jul  3 17:05 node_test.go
-rw-r--r-- 1 root root  6964 Jul  3 17:05 pure.go
-rw-r--r-- 1 root root 25318 Jul  3 17:05 pure_test.go
-rw-r--r-- 1 root root  8863 Jul  3 17:05 README.md
-rw-r--r-- 1 root root   433 Jul  3 17:05 request_vars.go
-rw-r--r-- 1 root root   543 Jul  3 17:05 util.go

It looks like middleware/logging-recovery is not in /opt/gocode/src/github.com/go-playground/pure/_examples

go version: go version go1.7.4 linux/amd64 sqlite3 version: SQLite version 3.16.2 2017-01-06 16:32:41

tectiv3 commented 7 years ago

Fixed