Category: Reddit Golang

Load Data infile

Hi, ​ Im looking to import the data from a .csv file into my mysql database. I’ve read that, LOAD DATA INFILE is supposed to be very fast at loading a large data-set into a DB. I’ve never used LOAD DATA INFILE...

Read More

Using receivers vs arguments?

When designing a program – what is the best way to pass a variable to the function body? The way I see it is: One way is to use method receiver func (t *T) MyFunc() Another way is to use function arguments func MyFunc(arg0...

Read More

GoLang In a Nutshell….?

Hey folks, I’ve got another newbie learning question. Having benefited from the O’Rielly “<Language> in a Nutshell” books, I’m wondering if there’s any sort of resource like that for Go....

Read More
Loading