DEV Community

Affan Shahid
Affan Shahid

Posted on

Is Go only for infrastructure?

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)

Collapse
 
gypsydave5 profile image
David Wickes

Go is a general purpose programming language. Write what you like in it.

Collapse
 
affanshahid94 profile image
Affan Shahid

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?

Collapse
 
gypsydave5 profile image
David Wickes

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?

Collapse
 
jeastham1993 profile image
James Eastham

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.

Collapse
 
royhq profile image
Roy Carrion

Mercadolibre.com (greatest e-commerce in Latin America) uses Golang for its microservices.

Collapse
 
jorgee97 profile image
Jorge Gomez

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.

Collapse
 
jvarness profile image
Jake Varness

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.

Collapse
 
jvarness profile image
Jake Varness

Link to said video: youtu.be/V6VP-2aIcSc