Questions tagged [go]

Use this tag if a question is about the programming language Go

Filter by
Sorted by
Tagged with
0
votes
1answer
28 views

Amazon S3 bucket does not redirect folder URLs to index.html

I have uploaded my HUGO static site into AWS S3 Bucket. I have also added the domain in cloudrfront. The home index.html page works fine, but I cannot access my resources. For example https://www....
4
votes
1answer
768 views

How do I use docker command's “--format” option?

I can't seem to find any good documentation on how to use the docker command's "--format" option in real life. I know how to use Go templates. But specific to docker, how do I know what placeholders ...
0
votes
0answers
21 views

AWS golang SDK get configuration variables

Is it possible to get with AWS Golang SDK custom configuration variables the same way you can get them with aws cli? As an example, I have in my ~/.aws/confg [profile test] region = eu-central-1 ...
0
votes
0answers
36 views

Using chef go not found but manually exists

I have a fairly simple install of chef and go (golang). If I use a go install command in my chef recipe I get an error of go: command not found but when I do the exact same command manually using the ...
0
votes
0answers
49 views

How add Dependencies without DEP?

I did create go project. I did test on local developer PC: all did work. Did upload src to GitLab. After I did want to create CI_CD (gitlab/Jenkins/Artifactory) with putting on target server. Go App ...
3
votes
1answer
208 views

What Golang function could be used to enforce a minimum code coverage and return an Exit1 if false?

Follow-up to this Q&A. How to ensure that a certain minimal code coverage is reached in Golang? E.g. if the CI runs, the build should fail if the code coverage is less than X percent. In Java, ...