Live data from Hacker News

Show HN: Copper – A Go framework for your projects

github.com

1–10 of 86 posts

Show HN: Copper – A Go framework for your projects

#1
Hey HN! I've been working with Go for the last 5+ years at large-ish companies building products that many of you may use regularly.

A ton of people say that Go's standard library is really powerful and usually enough to get by without external dependencies. I think that's true for companies that have the resources to build and maintain packages to reduce code duplication. For everyone else, we're left to finding the right set of packages to build our projects. So, I built Copper - a toolkit that helps you get your project off the ground with minimal dependencies. It covers everything from routing, html, storage to tooling and more.

Check it out, star it, and feel free to ask questions!

P.S. I also have a video demo building an HN clone in the docs

[1] https://gocopper.dev/

Show HN: Copper – A Go framework for your projects
github.com

Re: Show HN: Copper – A Go framework for your projects

#5

Doesn't the Go standard library do what you mentioned above?

It kinda does but there's a lot of boilerplate that goes in before we actually get to the app logic. And, understandably, there's no structure provided by the Go stdlib. Once I made many projects with just using stdlib, I started taking common packages out. And Copper is essentially that. I can start writing my app code with minimal setup / boilerplate.

Re: Show HN: Copper – A Go framework for your projects

#6
post #4

I saw on the "who's hiring" for July Go is at the same level of demand as Node pretty cool Gotta put Go on my list of things to learn

Please do! If nothing else, it's definitely a fun language to learn. We're also setting up a community of folks who are learning Go/Copper. Check the project readme link for the link.

Re: Show HN: Copper – A Go framework for your projects

#7

Doesn't the Go standard library do what you mentioned above?

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 route paths.

Re: Show HN: Copper – A Go framework for your projects

#8
post #7

Doesn't the Go standard library do what you mentioned above?

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 route paths.

>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 too and I really don't see a need for anything other than the standard library.

Re: Show HN: Copper – A Go framework for your projects

#9
post #8
post #7

Earlier quoted context omitted.

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 route paths.

>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 too and I really don't see a need for anything other than the standard library.

GET /{username}
Post reply on HN