Popular Categories
0 0

Of late we have seen many Biggies moving their existing enterprise applications from a more conventional programming language to Golang. Biggies like Facebook, Twitter, YouTube, Apple, Dropbox, Docker, ..

2 weeks ago
14
Comments Off on ‘Go’ is the best programming language in/for DevOps.
0 0

Hi gloang community, ​ Im not sure if this is against the posting rules but I am looking for senior GO developers who would consider moving to NZ to live. We have senior and team lead positions in Auckland ..

2 weeks ago
11
Comments Off on GO jobs in New Zealand
0 0

This the last step in an OAuth2 sequence to get a client token for the eBay API. You’re sent to a form, and when you click Accept you’re redirected to a page (/auth-accepted.html in this page, ..

2 weeks ago
10
Comments Off on FormValue() and ParseForm() failing, going insane
0 0

So recently I have been working on a really cool project that I want to create a detailed documentation on exactly how everything is working and what is going on. I have just been kind of overwhelmed by some ..

2 weeks ago
10
Comments Off on Best way to create documentation
0 0

Is anyone using atomic.LoadInt32() or atomic.LoadInt64() on ARM without issues? I can use these methods just fine on amd64. But when the same code is compiled on armv6l, unexpected things do happen at runtime. ..

2 weeks ago
8
Comments Off on atomic.LoadInt32/64() on armv6l linux go1.12
0 0

Looking for something similar to AutoSys but written in golang because ease of deployment. I looked at Kala(https://github.com/ajvb/kala) but it seems there isn’t active development. ​ Must ..

2 weeks ago
10
Comments Off on Enterprise job schedulers
0 0

new Gopher here and am writing my first project to get my feet wet (a Go-version of an internal library we use at work). It’s something similar to gRPC and the encoding/json module is what I’m ..

2 weeks ago
8
Comments Off on When to depend on external packages
0 0

In your projects, where do you put your database schema? Would you put it as the first version in your migrations? Also, without an ORM, it seems that you need to maintain schema changes in two places: ..

2 weeks ago
8
Comments Off on Database schema location and struct question
0 0

Is it possible to create a new type based off a slice of slices? For example I want to create a new type called face and in order to be a face you need to have a slice of slices. Face = [ [0,0,0], [0,0,0] ..

2 weeks ago
9
Comments Off on Creating a new Type of Multidimensional Slices
0 0

Literally so lost as to why I can’t create any packages to share with my package main. My project is inside of my $GOROOT which in my case is ~./go which has my bin pkg and src folders. The directory ..

2 weeks ago
13
Comments Off on No idea why I cant create a new package
0 0

I’ve seen that its recommended to defer file closes() my question is when you defer a close() does it close the file on the next function call? when it’s safely assumed no more writes will ..

2 weeks ago
10
Comments Off on deferring file closes()
0 0

Hello! Could you please explain differences of functions down below to me. Go documentation couldn’t anwser my question in simple way, so i will be grateful for all of your anwsers. Scan, Scanf, ..

2 weeks ago
10
Comments Off on Differences between scan functions
0 0

I am struggling with something in a script. I have condensed the code and narrowed it down to 1 key thing and would appreciate any input you might have. I really have no clue where I am screwing this up. In the below ..

2 weeks ago
10
Comments Off on Need assistance with datatype.
0 0

​ Hi, I’m working on a project and need some help. In case someone was interested. Regardless, any feedback is welcome. I’d like to validate the idea as well. https://github.com/pbudzik/mesh ..

2 weeks ago
10
Comments Off on Cross-protocol eventing mesh
0 0

I have a go lang lab exam tomorrow centered around parallel programming. I know the basics and have practiced some stuff but still not feeling confident. Can anyone share with me the best resources or the practice ..

2 weeks ago
8
Comments Off on Go LANG Undergrad Exam
0 0

Hi, ​ I’m working on a project and need some help. In case someone was interested. Regardless, any feedback is welcome. I’d like to validate the idea as well. ​ https://github.com/pbudzik/mesh ..

2 weeks ago
10
Comments Off on Cros-protocol eventing mesh
0 0

I am working on ONNX-Go, a library that gives the ability to import a pre-trained neural network within Go without being linked to a framework or library. For example, I can now import the emotion-fer+ ..

2 weeks ago
9
Comments Off on Sentiment analysis on a picture in pure Go with ONNX
0 0

Hi I am new to Go and I have a question regarding go packages. From what I understand, go packages are effectively tied to your GitHub (or any other hosting) repository. If I had developed a package that ..

2 weeks ago
8
Comments Off on Question on transferring package ownership
0 0

I tried deliberately creating a simple deadlock in a go program (I know I have a weird sense of fun!). But I came across something that feels unusual to me. I created 50 goroutines to do some task. As there ..

3 weeks ago
8
Comments Off on An unusual number of goroutines formed
0 0

Hey all, ​ This is a bit of a broad question so I am not posting it on StackOverflow. Thought I’d post it here and see if there are any pointers in the right direction. I ask two basic questions, ..

3 weeks ago
9
Comments Off on Store a big string into MySQL/Display partials
0 0

I realize Golang doesn’t really have try-catches, but there is a situation in sqlite3dump where I think I need one. Basically, for whatever reason, dumping from a sqlite3 database sometimes has headers ..

3 weeks ago
10
Comments Off on Is this try-catch in bad style?
0 0

I need to insert instructions into a go program that will show or write to a file a data field. Is there any quick way to do that, like placing a ShowMessage(data) into the code in other languages? Thanks ..

3 weeks ago
8
Comments Off on New to go and need to trace data
0 0

Hello everyone 🙂 ​ I’m working on a task runner for Go projects called Gilbert. This tool might be useful if you’re working with complicated web-projects and sometimes a regular `go build` ..

3 weeks ago
10
Comments Off on Gilbert – build tool for Go projects
0 0

i was reading about Go for years, watching youtube videos about it, reading posts here, etc…, and sure the language looked good but i would always be turned off by the fact that it’s garbage ..

3 weeks ago
34
Comments Off on CPU Pixel Shader
0 0

I am reviewing some code and trying to understand it involving http servers. I have a question as to why I see a variable err declared and set to the http Serve and Listen function. Not exactly sure why the err is declared ..

3 weeks ago
8
Comments Off on Whats the point of err := …
0 0

submitted by /u/dgryski [link] [comments]

3 weeks ago
9
Comments Off on The Go Team would like to talk with large companies (1000+ employees) to better understand how engineering leaders make language decisions, how teams use Go, and what issues organizations are facing with Go adoption.
0 0

I have an exercise that is about encoding, and in this excercise I have to write a code that translates a text to hex, then base64 then gzip. I have already finished the code that translates it to Hex but i was just ..

3 weeks ago
14
Comments Off on Question regarding base64 and hex
0 0

Golang is an ideal language for data analytics applications due to its powerful data gathering, analysis and visualization resources such as InfluxDB, Gonaum, Gophers notes, and others. It has been used ..

3 weeks ago
9
Comments Off on Why Golang for big data analytics is important?
0 0

I was thinking you need to wrap the blocking function like this. If the blocking function was actually non-blocking then the assert.Fail would happen. The Sleep is required to so that we give time for the goroutine ..

3 weeks ago
13
Comments Off on How would you test that a function is blocking?
0 0

I am into Chapter 2 of The Go Programming Language and under a section Type Declarations there is an excerpt that says: Conversions are allowed between numeric types, and between string and some slice ..

3 weeks ago
9
Comments Off on What does "conversion never fails at run time" mean?
0 0

There’s something here I don’t understand. This works: cols, _ := rows.Columns() tab.AddHeaders(cols[0], cols[1]) here cols is []string, and tab.AddHeaders is declared as a func that takes ..

3 weeks ago
10
Comments Off on Empty interface vs. variadic function

The Go Bible

Written by
0 0

I have started this repo as a way to track articles I find interesting and beneficial as well as lectures, books, tutorials and so on. This isnt the first of its kind obviously there are loads of resource ..

3 weeks ago
9
Comments Off on The Go Bible
0 0

I am trying to install Golang and Git on W7. I keep getting this error: c:Gobin>go.exe get github.com/golang/example/hello go: missing Git command. See https://golang.org/s/gogetcmd package github.com/golang/example/hello: ..

3 weeks ago
11
Comments Off on Golang/git setup problem
0 0

Add regexp responders feature. ​ To register a regexp responder, see: RegisterResponder & MockTransport.RegisterResponder with url prefixed with “=~” new RegisterRegexpResponder & ..

3 weeks ago
9
Comments Off on [ANN] httpmock new release v1.0.4
0 0

So I want to import a library present in my company’s code repository as company.org/project/library. However the url of actual repo is an internal url pointing to the bitbucket server. So far I’ve ..

3 weeks ago
9
Comments Off on Modify source repo for a module in go mod
0 0

Am trying Goland with VS code , my usual setup is VSCode+Go plugin in OSX. Goland seems to be huge memory chunk around 700MB compared to VSC with 66MB in a mid 2012 Mac Book Air. Fans started blaring out the min i started ..

3 weeks ago
8
Comments Off on trying goland VSCode
0 0

Hello, I’m reading a book called Go Cookbook I have one question that I’m a little bit confused. You don’t need to read the book to answer my question. In some of the chapters, the writer ..

3 weeks ago
6
Comments Off on Package design strategy?
0 0

Panelists Mat Ryer, Ashley McNamara, Johnny Boursiquot, and Carmen Andoh discuss the process of getting hired, hiring, and job interviews. If people are the most important part of a team, how do we pick ..

3 weeks ago
12
Comments Off on Cast: Hiring and job interviews #gotime
0 0

Hi Reddit! Over the last few weeks I’ve been working on a code generation tool that gives me a GraphQL layer on top of Twirp services that I’m working on. ​ The motivation behind it is that ..

3 weeks ago
7
Comments Off on TwirpQL: Autogenerated GraphQL layer on top of Twirp