So I have a node.js background and I am starting to get into Go. In node i build web services that handle a lot of business logic, I thought I could use Go for this exact purpose but looking online a lot of people say Go should be used for infrastructure tools instead.
Is this correct? Should I not use Go for building business logic centered web services?
What companies are using Go for business logic?
Top comments (8)
Go is a general purpose programming language. Write what you like in it.
I totally get that but just trying to get an understanding of the ecosystem around Go, is what I described something Go is being used for in the industry?
Sure, I've built back end web apps in Go. It's a great fit as it's really fast, got great tooling around http and networking, and is easy to write and understand.
But, really, you could say that about a lot of languages. Why don't you try it out and see how it feels for you?
Agree with David, you can build anything with Go. I'm currently writing a whole microservice application with Go. You can find the series of articles on my profile if you're interested.
Mercadolibre.com (greatest e-commerce in Latin America) uses Golang for its microservices.
You can write wherever you are interested in using Go, it's just a language like any other. Just have fun that is it. Also you can check go.dev/ to see who is using Go and what for.
People make all kinds of things with Go. I saw a youtube video where a guy refactored a GBA emulator that was written in Go, and like many languages Go has a wide array of web capabilities.
Link to said video: youtu.be/V6VP-2aIcSc