I am using Go to automate IBM Aspera uploads. I would like to capture the stdout/stderr percentage progress while this happens. I am running this on an ubuntu:l
I am trying to write a sample program to try and implementing the a data structure using go generic proposed in go2. As part of this I want to define a iterator
I'm trying to configure a new function in my Golang custom handler that uses a timer trigger. But I haven't been able to find any documentation for it. I've rev
I'm trying to use https://github.com/go-playground/validator and need to ensure that user configuration has an inner struct populated (i.e. not Zero) while stil
All of my docker builds are getting this error when doing a go get. Unfortunately the error message isn't very helpful (or I am struggling to understand it)...
I'm writing a simple API in Go that reads from a database and outputs GeoJSON. I have this working for simple points. But some of my data is lines (linestring).
I am trying to retrieve the filename from this http writer for testing purposes. On the server I have: func servefile(w http.ResponseWriter, r *http.Request ) {
I have looked at the similar questions here related to CORS issues with Gin and Tus; none addresses the problem I am currently having. The current implementatio
I try to follow this documentation https://github.com/pion/mediadevices. But somehow i constantly run into errors. First i had to install MinGW (gcc). Then i ha
I'm facing this issue while installing terratest by azure yaml pipeline : C:\hostedtoolcache\windows\go\1.17.1\x64\bin\go.exe install -v github.com/gruntwork-io
I'm trying to scrape a simple website that looks like this: <html> <head> </head> <body> <pre> "Name Surname 1 Name Su
Is there a safe way to easily convert standard handlebars templating syntax to the templating syntax used in golang(e.g. {{.Lookup "Question"}})? I have a Jenki
Trying to create a GO function that produces the same result as the Ubuntu Linux "cksum" operation, for example: $ echo 123 > /tmp/foo $ cksum /tmp/foo 23306
I upgraded to Go 1.18 on Mac 12+. 'go build' fails with errors like: # golang.org/x/sys/unix ../../gopath/pkg/mod/golang.org/x/[email protected]
I'm trying to debug a simple Golang code in VSCode with dvl-dap and I get the following error: Does anybody know how can I solved this issue? I'm working from
I've created small go application. Few days back I upgraded from go 1.15 to 1.17 and I also upgraded packages with go get -u. After the changes I have 2 require
I was trying to implement a sample program using heap, and I am able to Push and Pop from the Heap. I was able to implement the Push and Pop methods and use th
I have a handler like this: type Location struct { Lat float32 `json:"lat"` Lon float32 `json:"lon"` } func handleJSONLocation(res http.ResponseWriter
I am facing this build error in Golang V1.17 intermittently. # gorm.io/driver/mysql ../../../../pkg/mod/gorm.io/driver/[email protected]/migrator.go:224:24: cannot u
I am trying login to my amazon buyer account for getting tracking info. I made wordpress-woocommerce login and getting infos but I could not for Amazon. package