Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Ferg
May 6, 2007

Lipstick Apathy

Azazel posted:

I use a combination of the standard net/http and gorilla/mux libraries myself,

This. More often than not it's all I ever need, even for larger applications.

Adbot
ADBOT LOVES YOU

Ferg
May 6, 2007

Lipstick Apathy

Plorkyeran posted:

Seems like the obvious solution to both the versioning problem and the unreliable third-party repo problem is to just fork all of the repos you depend on. Doesn't really let you have different versions of deps on different branches (without a fork per branch...), but if you control the repo you're pulling code from then you can just always have master pointing at the appropriate release.

This is what we do at my shop. It's never posed a problem, and you always have the original repo if you need to pull any changes/fixes that made their way into the upstream.

Ferg
May 6, 2007

Lipstick Apathy

sarehu posted:

I have a question for you Go people. Suppose you write a web application in Go. What do you do to get it running in actual production?

Right now I ran it with nohup and proxied it with nginx so that it'd run on port 80 after reading a tutorial. I hope it doesn't go down!

But like, seriously, what do you do? This is not really a Go-specific question, sorry that it's in the wrong place.

Just throw the binary on your server and run it. Nginx is an option if you need any benefits from a reverse proxy. It doesn't get much easier.

Ferg
May 6, 2007

Lipstick Apathy

Coffee Mugshot posted:

I don't know why people constantly claim Go is Google's baby. We have more external users than internal users by far and it's been an uphill battle to get people to use Go within Google. Python programmers maybe, but c++ and java programmers aren't that interested.

It also gets basically zero attention at IO anymore. It's really just a project sponsored by Google more than anything.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply