All posts in: reddit

Sending Emails doesnt work

Written by

I created somthing that produces a txt file and attaches it and send it to an email address ​ but all the libraries iv used are not able to send ..

2 weeks ago
13
Comments Off on Sending Emails doesnt work
0 0

Database SQL Driver resources ?

Written by

Hello, ​ I am trying to build my own database driver but I can’t find resources about this except the repos on GitHub of drivers already created. ..

2 weeks ago
16
Comments Off on Database SQL Driver resources ?
0 0
2 weeks ago
14
Comments Off on duck: Development task runner for OS layer. Write short command-based processes, and call them later with shortcuts. Upload your processes to online repos for sharing (self-hosted repo available).
0 0

About Goroutines and scheduler

Written by

Hi everybody, I was playing with this program: https://play.golang.org/p/_8P1Edxe3o4 ch1, ch2 := make(chan int), make(chan int) a, b := 2, 10 go func() ..

2 weeks ago
18
Comments Off on About Goroutines and scheduler
0 0

Newbie Question: Advantages of using dep

Written by

At the risk of sounding inexperienced (which I am), what are the advantages/uses of using dep dependency management instead of standard go get? submitted ..

2 weeks ago
11
Comments Off on Newbie Question: Advantages of using dep
0 0

How to retrieve 2 SQL result sets?

Written by

2 result sets unrelated to each other, therefore a join can’t be used. ​ How to retrieve those using a single request to a db? submitted by /u/bibat003 ..

3 weeks ago
22
Comments Off on How to retrieve 2 SQL result sets?
0 0

Interview Coding Test w/o golang

Written by

Hello. ​ I have 10+ years of IT experience. Mostly devops/sysadmin/coding/lead roles. I typically use: shell->python->golang to solve problems. ..

3 weeks ago
19
Comments Off on Interview Coding Test w/o golang
0 0

(pure) Go to LLVM (toy) compiler

Written by

https://github.com/pwaller/go2ll-talk ​ can’t wait for this `go2ll` tool to be made public! ​ based off: https://github.com/llir/llvm ..

3 weeks ago
20
Comments Off on (pure) Go to LLVM (toy) compiler
0 0

Any update on Go website redesign?

Written by

A while ago Go team launched a style guide for new design with presentation deck and new logo. Any any when that will be implemented in website? submitted ..

3 weeks ago
16
Comments Off on Any update on Go website redesign?
0 0

First dive into Go

Written by

https://medium.com/@drodil/first-dive-into-go-21d7e61024bc submitted by /u/drodil [link] [comments]

3 weeks ago
23
Comments Off on First dive into Go
0 0

Dockerised go + postgres example

Written by

A simple example of an building optimised go + postgres container _ image. I struggled with this a bit so I thought it may be helpful for someone else! ..

3 weeks ago
76
Comments Off on Dockerised go + postgres example
0 0

Goose migration

Written by

I am a beginner in golang and db migration I works on web based open source program that use golang and this program use mvc structure. However, i am trying ..

3 weeks ago
80
Comments Off on Goose migration
0 0

Using C libraries in Go

Written by

Hello folks ! I’m currently trying to implement a way for a GO program to call some existing C functions (which are a part of another already existing ..

3 weeks ago
77
Comments Off on Using C libraries in Go
0 0

gomock.Any() vs gomock.AssignableToType()

Written by

When writing unit tests where I mock out functions, what is the benefit of passing gomock.AssignableToType() vs gomock.Any(). It seems like your call on your ..

3 weeks ago
89
Comments Off on gomock.Any() vs gomock.AssignableToType()
0 0

Dependency aware encoder/decoder

Written by

I want to persist the state of my structs for later use. My structs might include transient dependencies, such as fields which might hold connections e.g. ..

3 weeks ago
86
Comments Off on Dependency aware encoder/decoder
0 0

Import local packages

Written by

I have a barcode thingy, the main looks like this: ($GOPATH/src/gitlab.com/something/barcode/cmd/barcode/main.go)package mainimport ("gitlab.com/something/barcode/pkg/cmd")func ..

3 weeks ago
47
Comments Off on Import local packages
0 0

How to query data in mongo?

Written by

I have inserted data into mongodb in the following way { "_id" : ObjectId("5c80e9cc3bf127cfc80ba5dc"), "resp" : [ { "name" : "by", "gender" : "synced", ..

3 weeks ago
50
Comments Off on How to query data in mongo?
0 0

I am currently working on this prblem and i am stuck with reading both the file Concurrently. Guys,please help me out!!(Ps: Noob at Golang)

Written by

Given n number of text files as input, generate an output file with the details of unique words and its occurrence in all the files. (You’ll have ..

3 weeks ago
47
Comments Off on I am currently working on this prblem and i am stuck with reading both the file Concurrently. Guys,please help me out!!(Ps: Noob at Golang)
0 0

Execute bash function from go?

Written by

Hello! I’m writing a small program that aims to provide a way of executing small script functions over the Internet. However I’m not able to write ..

3 weeks ago
51
Comments Off on Execute bash function from go?
0 0