All posts in: reddit

Golang for desktop GUI apps in 2019

Written by

What is the current state of GUI frameworks for golang? I see there are 3rd party QT bindings for Go, but what I cant find are screenshots of apps build ..

4 weeks ago
24
Comments Off on Golang for desktop GUI apps in 2019
0 0

A question on how to call a function

Written by

I have been looking for a way to call functions with the values from an array. I want to call a function with a standardized name by ranging through the values. ..

4 weeks ago
20
Comments Off on A question on how to call a function
0 0

Function definition confusion

Written by

Hi, I am new to Go lang and am currently learning about functions. My question is what is the difference between the prototype of this function func plus(a ..

4 weeks ago
20
Comments Off on Function definition confusion
0 0

Anyone seeing memory issues in 1.12?

Written by

Here’s a sample of my graphs around the time that I upgraded my service to 1.12: https://i.imgur.com/O45d3Ce.png The process memory just goes up and doesn’t ..

4 weeks ago
24
Comments Off on Anyone seeing memory issues in 1.12?
0 0

benchmarks for 1m connections servers

Written by

just like eranyanay/1m-go-websockets, I have implemented some tcp servers with several styles, and got the benchmarks in case of 1 million connections. ..

4 weeks ago
20
Comments Off on benchmarks for 1m connections servers
0 0

Debugging errors nicely

Written by

Errlog – Display useful information instead of panic I made this package to simplify debugging when writing Go apps with some features I found missing. ..

4 weeks ago
21
Comments Off on Debugging errors nicely
0 0

Gonum Failing

Written by

Does anyone know why and if there is anything that should be avoided? submitted by /u/knickerBockerJones [link] [comments]

4 weeks ago
24
Comments Off on Gonum Failing
0 0

Go Toolchain Recommendations

Written by

Hey Guys, ​ I am a Java and Node developer but have gotten interested in learning go. ​ I want to build a simple RESTful API and then will ..

4 weeks ago
22
Comments Off on Go Toolchain Recommendations
0 0

use the zookeeper with golang

Written by

I want to use a golang zookeeper client library in my application. So , Is there a stable package ? I find the samuel/go-zookeeper package. But it has many ..

4 weeks ago
23
Comments Off on use the zookeeper with golang
0 0

Unit Test HTTP Middleware

Written by

Hi all, Is there a way to test HTTP middleware in isolation? For example middleware that removes the trailing slash for every request (unless root) – ..

4 weeks ago
25
Comments Off on Unit Test HTTP Middleware
0 0

When you call a sql function to fetch a row by id, but nothing returns, is it more idiomatic to return nil, errors.New("Unable to find the resource) or nil, nil?

Written by

So basically, I want to return 404 in the handler level if it cannot find the resource. Is it idiomatic for the sql function to return Not Found error ..

4 weeks ago
19
Comments Off on When you call a sql function to fetch a row by id, but nothing returns, is it more idiomatic to return nil, errors.New("Unable to find the resource) or nil, nil?
0 0

The Go Playground is down!!!

Written by

As the title says the go playground has gone down and responds with 502 Server Error submitted by /u/arunsubaroo [link] [comments]

4 weeks ago
20
Comments Off on The Go Playground is down!!!
0 0

Looking for a buddy(s) learning Go

Written by

Hey, I am 20 year old attending uni for an MIS degree. I have been coding as a hobby on and off in the past two years. I am working on my first big project ..

4 weeks ago
24
Comments Off on Looking for a buddy(s) learning Go
0 0

How to mock an elasticsearch client?

Written by

So I am trying to mock an ES client using httptest.testserver passing it as a server url and trying to get back a mock client from this API https://github.com/olivere/elastic ..

4 weeks ago
24
Comments Off on How to mock an elasticsearch client?
0 0

go modules seem very broken

Written by

I started a new project on 1.11, and based on rsc’s advice used go modules. In the past I’ve used dep exclusively. Anyways, I’ve had nothing ..

4 weeks ago
23
Comments Off on go modules seem very broken
0 0

Go @GSoC-2019

Written by

here are the orgs that I know have some proposals in or about Go: ​ – https://summerofcode.withgoogle.com/organizations/4847332097523712/ (Amahi) ..

4 weeks ago
22
Comments Off on Go @GSoC-2019
0 0

Need feedback

Written by

Hi Guys, ​ I’ve started learning GO last week and I must say that it was a nice experience 😀 I’m am opening this thread because I’ve ..

4 weeks ago
23
Comments Off on Need feedback
0 0

Gorilla sessions

Written by

I needed to know whether I’m using Gorilla Sessions the right way. Can anyone please help me out? ​ Steps followed: Create a session by store:=sessions.NewCookieStore("a ..

4 weeks ago
18
Comments Off on Gorilla sessions
0 0

Golang + Mysql

Written by

I’m working on a project that uses goose for a project where I use both MySQL and SQLite. However, I keep encountering an error while I did give ..

4 weeks ago
21
Comments Off on Golang + Mysql
0 0

Microservices with Go?

Written by

Hey Fellas. I’m little confused and I’ll just go straight to the point. How do you build your microservices and what role they play? Currently ..

4 weeks ago
21
Comments Off on Microservices with Go?
0 0

What does this syntax mean?

Written by

The github api project has this syntax on its client: c.common.client = c c.Activity = (*ActivityService)(&c.common) I understand what it does, it gives ..

4 weeks ago
18
Comments Off on What does this syntax mean?
0 0

If’s or anonymous Switches?

Written by

Interested to get the general consensus on this sub around this topic. For logic that requires a lot of condition checking (if else’s), do you use if else’s ..

4 weeks ago
24
Comments Off on If’s or anonymous Switches?
0 0

Erlang + Golang

Written by

What if you have erlang cluster having some nodes with hottest CPU usage. Would you like to use golang implementation of erlang node (https://github.com/halturin/ergonode) ..

4 weeks ago
23
Comments Off on Erlang + Golang
0 0

After feedback for Tiedot

Written by

Hi, ​ Currently evaluating a number of databases, was wondering how others have found tiedot, and any experience you would like to share, especially ..

4 weeks ago
29
Comments Off on After feedback for Tiedot
0 0

Build time for Go 1.12: user 1337.00

Written by

u@x1 ~/g/src> time ./all.bash ... ALL TESTS PASSED --- Installed Go for linux/amd64 in /home/u/go1.12 Installed commands in /home/u/go1.12/bin real ..

4 weeks ago
23
Comments Off on Build time for Go 1.12: user 1337.00
0 0

Need help with software architecture/design. Things have been going well for the largest project I’ve ever started but it’s an absolute mess!

Written by

I’m a hobbyist programmer who probably one day would like to get into it as a career so this is important to me…. I know my code is as ugly ..

4 weeks ago
15
Comments Off on Need help with software architecture/design. Things have been going well for the largest project I’ve ever started but it’s an absolute mess!
0 0