gothinkster/realworld

Golang + Echo

xesina opened this issue · 13 comments

@xesina Are you still working on this? Would love to see this getting finished!

@SUP3RIA Yes, I've tested it with React/Vue frontend and it's fully working now
It just needs a little bit of clean up and docs. I'm getting it ready by the end of this week.

looks clean!

@Cameron-C-Chapman I think it's ready. I wrote the minimum tests and also tested it with react and vue frontend

@xesina i like your work. Take a look please on my version of totally refactored realworld app
#234
I start from scratch this project - and if you like it and have time - it's open source and opens for contributors. Not finished now, but looks promising

@Cameron-C-Chapman This is finished about 20 days ago, can you take a look at this?

@xesina Sorry for the delay.

I started taking a look at this but ran into some issues. I'm not super familiar with go so it might be an obvious path related issue but since the instructions should be easy to follow for a beginner I think it's relevant.

I can't add an issue directly to your repo so I'll add the issue here.

Following the directions exactly I run into this issue:

$ which go
/usr/local/bin/go

$ which dep
/usr/local/bin/dep

$ dep ensure
/Users/cameronchapman/Personal/golang-echo-realworld-example-app is not within a known GOPATH/src

$ go run main.go
main.go:5:2: cannot find package "github.com/xesina/golang-echo-realworld-example-app/db" in any of:
	/usr/local/Cellar/go/1.10.3/libexec/src/github.com/xesina/golang-echo-realworld-example-app/db (from $GOROOT)
	/Users/cameronchapman/go/src/github.com/xesina/golang-echo-realworld-example-app/db (from $GOPATH)
main.go:7:2: cannot find package "github.com/xesina/golang-echo-realworld-example-app/handler" in any of:
	/usr/local/Cellar/go/1.10.3/libexec/src/github.com/xesina/golang-echo-realworld-example-app/handler (from $GOROOT)
	/Users/cameronchapman/go/src/github.com/xesina/golang-echo-realworld-example-app/handler (from $GOPATH)
main.go:4:2: cannot find package "github.com/xesina/golang-echo-realworld-example-app/router" in any of:
	/usr/local/Cellar/go/1.10.3/libexec/src/github.com/xesina/golang-echo-realworld-example-app/router (from $GOROOT)
	/Users/cameronchapman/go/src/github.com/xesina/golang-echo-realworld-example-app/router (from $GOPATH)
main.go:6:2: cannot find package "github.com/xesina/golang-echo-realworld-example-app/store" in any of:
	/usr/local/Cellar/go/1.10.3/libexec/src/github.com/xesina/golang-echo-realworld-example-app/store (from $GOROOT)
	/Users/cameronchapman/go/src/github.com/xesina/golang-echo-realworld-example-app/store (from $GOPATH)

Maybe some instructions about configuring the path make sense to add?

@Cameron-C-Chapman Thanks for your review. I added detailed instructions and helpful links.
I will update links later to point to this repo on gothinkster.

@Cameron-C-Chapman How Can we proceed on this? It's seems that you're too busy :)

@xesina do you think you could try and build this project on TravisCI. This should help prevent machine specific setup pitfalls?

@anishkny Good Idea! thanks, Done.

LGTM #287