Copper
Dev tools
web framework
SHOW HN2022
How HN took it
4 positive, 6 neutral or asking, 0 mixed, 8 critical, out of 18 comments about the project. Thread score -0.16.
Design: 2 for, 4 againstIdea: 1 for, 2 againstDocs: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Single binary frontend and backend bundling.
From 1 comment
Congrats! > One Binary > Build frontend apps along with your backend and ship everything in a single binary. I'm doing something similar and love it. Do you embed the entire…
andreygrehov on HN
Demo video is tight and useful.
From 1 comment
Copper looks really cool - bringing the rapid dev of Rails to golang. Very tight demo btw
zinodaur on HN
Objections
Frameworks are unnecessary in Go; the standard library suffices.
From 2 comments
Doesn't the Go standard library do what you mentioned above?
jjtheblunt on HNBuilding a "Rails-like" framework in Go is honestly totally antithetical to the "Go way" of doing things. Rails has a ton of magic, implicit behaviours, monkey patching, ERB, and…
swagonomixxx on HN
Dependency injection via Wire is unnecessary indirection.
From 1 comment
Too bad it uses Wire. There’s absolutely no need for dependency injection frameworks in Go, you can just inject directly to receiver functions. It does the same thing without the…
thiht on HN
GORM is not a good default database package.
From 2 comments
Reading through the comments, most of you are either new to Go or new to web dev in general. Only that would explain how this SHITSHOW of a "framework" would get any praise at…
icod1 on HNthis looks fine but not a fan of gorm. but it could be decent choice if u want to build integrated framework i can understand why people would choose it, another option is…
born-jre on HN
Requests
Support for sqlc and SQLite.
From 2 comments
If you're using postgres, I'm a major fan of the anti-ORM (ROM?) that is sqlc. Nothing I've used comes in Go close in productivity or safety (and ability to write proper queries…
andrewstuart2 on HNThey're on top of my list to add to Copper. As soon as we get sqlite support!
tusharsoni on HN
Phoenix-like features for server-side rendering.
From 1 comment
This is a good observation. One trend I'm noticing is that the "old way" (PHP, Rails, etc.) of doing things is making a comeback. Go is very well positioned for this but lacks…
tusharsoni on HN
Questions
Does it provide placeholder route parameters?
From 2 comments
Go’s HTTP routing is very primitive. That’s one big area that I’ve always needed to use a 3rd party dependency. The main issue is that it doesn’t support placeholder values in…
atwood22 on HN>The main issue is that it doesn’t support placeholder values Can you elaborate? Like give me an example of a route path that uses placeholder values? I use Go to build web apps…
telesoft on HN
Is it suited for SPA frontends with a JSON API?
From 1 comment
So go is trying to be a server-side-render framework here, what about the SPA style in that go is a simple json-api server, and let SPA to do all the template and render, is gin…
synergy20 on HN
Alternatives named
Bud
From 2 comments
Author of https://github.com/livebud/bud here, congrats on the launch Tushar! Looking forward to building up the Go web framework ecosystem with you!
matthewmueller on HNSo many frameworks in other languages are trying to get to the productivity of Rails but they just don't have the same spark imo. There is no Rails equivalent in JS, theres lots…
bestinterest on HN
Pagoda
From 1 comment
Devs interested in this may also be interested in Pagoda [1], a rapid, easy full-stack web development starter kit in Go that I wrote. It leverages popular frameworks and modules…
mstef9 on HN
sqlc
From 1 comment
If you're using postgres, I'm a major fan of the anti-ORM (ROM?) that is sqlc. Nothing I've used comes in Go close in productivity or safety (and ability to write proper queries…
andrewstuart2 on HN
Ent
From 1 comment
What about the Ent ORM library? https://entgo.io/
lordofgibbons on HN