Closed silkcom closed 6 years ago
i read the tests wrong, there are several red warnings that tables don't exist from gorm. The tests do pass
Thanks for your advices, I will fix errors when I have time. Could you please explain more about where to go from here section in your readme and more complete instructions
? R u means more introduction about 3rd tools or packages?
What is easy-ish fix for golang.org's x crypto is not found ? @silkcom I am total newbie... how do I fix that?
Could you plz patse your error info or log?
21:0:08 main | Build Failed: users/models.go:8:2: cannot find package "golang.org/x/crypto/bcrypt" in any of: /Users/dave/go/src/gozoca/vendor/golang.org/x/crypto/bcrypt (vendor tree) /usr/local/go/src/golang.org/x/crypto/bcrypt (from $GOROOT) /Users/dave/go/src/golang.org/x/crypto/bcrypt (from $GOPATH)
hmm... seems right place... https://godoc.org/golang.org/x/crypto/bcrypt
Yes! solved problem. THANK YOU!!
Was it related to codes? If so, you could give a pr to fixed it. Thanks
I think is an issue with golang... your link gives temp solution of install from github instead... so probably does not warrant a PR / fix - should be fixed at golang.org I think.. not sure
I will investigate further and then do PR. Also want to do something to deal with CORS issues.
Never mind, it's a weird issue. You can use this CORS middleware: https://github.com/gin-contrib/cors.
@dparizek The depended package was managed by govendor which could be checked in vendor/vendor.json
. The reason was that I didn't included the package /x/crypto/bcrypt
, I might install it before this project. BTW, do you meet the issue silkcom meet throws several errors
?
Right now trying to follow the readme throws several errors. Including golang.org's x crypto is not found (easy ish fix), going to / returns a 404 which might be expected? and running the tests has several failures.
It'd be very awesome to have a where to go from here section in your readme and more complete instructions on how to get the backend to startup successfully.