olebedev / go-starter-kit

[abandoned] Golang isomorphic react/hot reloadable/redux/css-modules/SSR starter kit
Other
2.82k stars 357 forks source link

Question: Why echo ? How about today ? #96

Closed ferhatelmas closed 6 years ago

ferhatelmas commented 6 years ago

Hi Oleg,

I'm in a phase to pick echo vs gin.

It seems gin was in use before, which is replaced by echo. I would appreciate if you could provide some insights about this change.

Moreover, both projects are moving so reasons at that time might not be valid anymore so how would you consider your options today?

Thanks in advance!

olebedev commented 6 years ago

Hi @ferhatelmas,

I found echo’s api more elegant and solid, meanwhile, gin’s api grew spontaneously and a bit ill-conceived.

Well, today i would pick swagger or graphql(both with code generation) b/c documentation and flexibility is matter nowadays.

ferhatelmas commented 6 years ago

@olebedev Thanks for answer. Any preference for graphql implementation and why ?

olebedev commented 6 years ago

@ferhatelmas, just an option from two possible. GraphQL shifts complexity from backend to frontend, it's not a silver bullet.

ferhatelmas commented 6 years ago

@olebedev sure. Actually, we have a team, more inclined to frontend (3 vs 1). Thus, it might be a good point to get started if we want to investigate further.