My current goreleaser file is here: https://github.com/jftuga/fstat/blob/master/.goreleaser.yml My main file is fstat.go. I have now added a second file, ..
I’m a little lost as to how to structure my Go apps code and specifically how to write proper web apps (file structure, what should be using interfaces ..
I am trying to write a microservice in Go which handles 3 endpoints one for file upload one for fetching file data stored in mongo and the other for creating ..
Hey everyone, I have a web app that goes to an external system, get’s a token and uses it for any action it does (as well as for its own login). ..
i have tried using mongo-db until now and so far i am still clueless about using it so instead of keep banging my head in mongodb i decided to try my luck ..
I am making a library which defines a few models for a tournament such as teams, games, etc. I would like to keep my functions as general as possible but I am not sure ..
Hey So I’m migrating a project from using glide to using go modules. Before in my CI flow I’d do go test $(glide novendor), and tests would ..
Hi，NutsDB is a simple, fast, embeddable and persistent key/value store written in pure Go. It supports fully serializable transactions and many ..
I have read the documentation – https://golang.org/pkg/net/http/#Client.Head which appears to be a convenience function for https://golang.org/pkg/net/http/#Client.Do ..
Overview GoProxy is a lightweight(zero third party libraries) reverse proxy server written in Golang It registers target urls and appends basic authentication ..
The beginning of “A Tour Of Go” reads: Packages Every Go program is made up of packages. Programs start running in package main ….. By convention ..
Basically I need to create an enum that can be iterated through and each element is not only a simple name but also contains (in some way or other) some ..
I’m having great difficulty to make a multipart uploader in Golang. The function needs to receives a multipart photos posted from a html form, extract ..
Here’s a short article on how to capture error from executing a command. Enjoy. Photo by Marcel Massa on Unsplash https://medium.com/@langhxs/golang-exec-error-only-contains-an-error-code-example-is-it-a-git-repo-800819f61bcb ..
I want to create a simple app in golang that uses a sql database. What’s the preferred tool or package to use for database migrations in a golang ..
Hello! I’m having a problem with the Golang project structure. The project currently looks like this: “`txt ./ ├── common ..
submitted by /u/J7mbo [link] [comments]
I’m really loving Go lately, but one spot that really hits me hard is enums. I really miss Java’s enum style. Am I just missing something with ..
Hey guys! Beep (an audio library for playback and audio processing) started out about a year and a half ago. It has been fully usable for a long time now, ..
Does it have any relative advantages? submitted by /u/GoRune [link] [comments]
Hello I recently came across this: https://gobot.io/. To use their package, you need to import "gobot.io/x/gobot". I’m fairly new to Go and I haven’t ..
Hello, everyone. I’m relatively new to Go and have been using it to build a small web app that connects to MySQL. I want to now experiment with adding ..
Hi, I’m currently doing some reading on the string type in Go. I learned that a string is nothing more than a slice of byte. Some things ..
I’m trying to create a protocol for transmitting ECDSA signatures over grpc. The signature generated by ecdsa.Sign() is in the form of a pair of big.Int’s: ..
Hello everyone, I’ve been debugging golang applications in vscode and I didn’t have any problems so far. however, I would like to debug ..
submitted by /u/snwfdhmp [link] [comments]
david@raspberrypi:~ $ go get github.com/bemesher/rtlamr package github.com/bemesher/rtlamr: mkdir /home/david/go/src/github.com/bemesher/: permission denied ..
What is the best practices/idiomatic/correct way to handle the following: Say you’re writing a web service, in it there is a session and some database ..
I’ve written a post on medium to explain the motivation and goals: https://email@example.com/im-writing-a-graphql-proxy-how-would-you-use-one-40d5f26e0780?source=friends_link&sk=bac1d2265fbcdbd00c72901b416fbc23 ..
submitted by /u/korthaj [link] [comments]
The Papercall site says authors are notified by the end of February but I’ve received no notification. submitted by /u/noamt [link] [comments]
So I need to test an http.handler that calls a method defined on an elasticsearch struct (which has an es client as a field; the first dependency) inside ..
I’ve been looking into API project structure and the resources out there seem to be a bit confusing and vary widely. Exactly how do I go about deciding ..