Go
Go is a programming language built to resemble a simplified version of the C programming language. It compiles at the machine level. Go was created at Google in 2007 by Robert Griesemer, Rob Pike, and Ken Thompson.
Here are 23,700 public repositories matching this topic...
This issue was reported in the Kubernetes Security Audit Report
Description
The strconv.Atoi function parses an int - a machine dependent integer type, which, for 64-bit targets will be int64. There are places throughout the codebase where the result returned from strconv.Atoi
Description
Depending on how docker image tar was saved it does not have tags recorded in it. So I use
docker load -i image.tar
I get an image with out a tag.
Steps to reproduce the issue:
- Use
docker load -i image.tar
command to load a image tar which does not have tag
2. run
docker images
and see that the docker image does not have a t
A curated list of awesome Go frameworks, libraries and software
-
Updated
Jan 12, 2020 - Go
This is a documentation error, in the current release. Following it results in the [1] in the markdown source
comment on [1]. You can see us at work
being recognised by MathJax as display mathematics.
Here's what the Hugo docs say:
https://gohugo.io/content-management/formats/#mathjax-with-hugo
inlineMath: [['$','$'], ['\\(','\\)']],
displayMath: [['$$','$$'], ['\
Please take a look at the following code
package main
import (
"github.com/gin-gonic/gin"
)
func main() {
r := gin.New()
r.GET("/ping", func(c *gin.Context) { c.JSON(200, gin.H{}) })
r.Use(gin.Logger())
r.GET("/pingx", func(c *gin.Context) { c.JSON(200, gin.H{}) })
r.Run()
}And now please take a look at [the documentation for Use()](https://godoc.org/gi
Within the organization's page I was expecting to find our private repositories, but they weren't there; only the public ones. I happened to find them only throught the generic "explore" menù.
The organizazion's page should list only the public repositories when the user isn'n logged in or if he/she doesn't have the permissions. Otherwise both the public and private ones should be listed.
Go
Steps to reproduce:
On a template variable with multi-select:
- enter a search which matches one or more items
- navigate by keyboard to an item
- use space bar to toggle the item
Actual Result:
The space bar input is appended or prepended to the search text.
Expected Result
The search text should remained unchanged, since focus is on a dropdown item.
**Releva
I'm trying to setup frp server on my vps.
It would be really helpful if frp/README.md contains a Installation section like other open source project does.
The installation guide should mention at least the following:
-
How to install go dependencies (in one command:
go get ./.... Chinese user may have to break the fucking government wall) -
How to build the package. Should I use
I tried to use a UNIX socket with nginx, but the default permission bits for the socket are 644:
$ ls -l syncthing.sock
srwxr-xr-x 1 syncthing syncthing 0 авг 27 15:32 syncthing.sock
Nginx uses www-data user, and that's why it can't use this UNIX socket and prints "Permission denied".
I can change these permission bits using umask 0007 to make it work, but this solution is n
I'm using TLS on etcd 3.3.12 and have a mix of etcd proxies and masters. The proxies don't seem to honour the --cipher-suites setting, as it ends up with ECDHE-RSA-AES256-GCM-SHA384 despite --cipher-suites=TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 being set.
$ pgrep -laf /usr/bin/etcd
21968 /usr/bin/etcd --listen-client-urls https://0.0.0.0:4000 --adv
Need fix in documentation for docker example configuration https://docs.traefik.io/routing/providers/docker/
https://github.com/containous/traefik/blob/v2.1/docs/content/routing/providers/docker.md
https://github.com/containous/traefik/blame/v2.1/docs/content/routing/providers/docker.md#L6
- Category: fzf binary
- OS: Linux 18.04
- Shell: bash as well as fish
Say I got the command echo whatever | fzf --ansi --preview='cat colored_file' --height=1, where the colored_file contains a ANSI color code, then some text with line breaks. Now, if we run that command and try to scroll with the mouse inside of the preview area past the ANSI code, then the text inside of the preview wi
1. What would you like to have changed?
Right now caddy2 has two config adapters: Caddyfile and JSON.
I have to admit, that I am not a big fan of json, because it's not possible to insert comments and it's difficult to write manual.
JSON is a format that should be used only from one comput
The function arguments to core.NewBlockChain got way out of hand. We need a config structure instead.
见 https://beego.me/docs/mvc/controller/config.md#basic-config,
beego.AppConfigPath = "conf/app2.conf"
beego.AppConfigProvider = "ini"
代码里 已经改成私有变量,需要通过如下方式进行配置的加载:
beego.LoadAppConfig("ini", "conf/app2.conf")
烦请帮忙更新一下,以免其他用户受误导,谢谢!
Swagger 3.0 support
Drone is a Container-Native, Continuous Delivery Platform
-
Updated
Jan 12, 2020 - Go
when starting minio with a custom azure Endpoint per documentation,
minio gateway azure https://azureaccountname.blob.custom.azure.endpoint
then minio adds a duplicate accountkey and blob to the URL.
as mini constructs the endpoint from
This may be because the code wants to create the endpoint from a custom suffix,
Apparently it should work now but it's not clear how to get there: github/hub#2149
Can you document it somewhere?
What is your current rclone version (output from rclone version)?
latest
What problem are you are trying to solve?
National (Germany, Chinese, and US Government) version of Office 365 requires a different API endpoint. Please refer to https://docs.microsoft.com/en-us/graph/deployments
The contribution guide is missing information detailing Rust and Typescript.
I am currently working on a custom notification system involving Gitea. The details of this setup aren't really relevant to the topic at hand; there'll be an HTTP server that takes events via webhooks and produces notifications to send elsewhere.
My problem: there's hardly any documentation on webhooks. The doc page merely lists the different hooks avail
Is your feature request related to a problem? Please describe.
Currently, cockroach demo doesn't have nodelocal storage enabled. This means you have to use cockroach start if you want to test or demonstrate any bulk I/O features.
Describe the solution you'd like
cockroach demo should accept the --external-io-dir flag in the same way that cockroach start does. It may even be
Dear developers. I write my custom specific web server for work with specific archive files, compression, encryption, etc. And i want to publish my web server under BSD-2-Clause license.
In my project i use Iris and Iris logger as basement.
I'm not going to use the name of your project to promote my project.
Can I publish my project under the BSD-2-Clause license?
Thanks.
Migrate 'components/admin_console/reset_password_modal' module and associated tests to TypeScript
We are starting to migrate the mattermost-webapp over to TypeScript to facilitate better code quality. This Help Wanted issue is to modify all files in components/admin*console/reset_password*modal (not sub-directories included) and associated test files.
Below is a checklist of items you should be doing to migrate:
- < ] Rename the files to their associated TypeScript extensions (ie.
jst
As proposed by @robrich in #6122
As I mentioned there, minikube does not yet support latest or stableversion aliases, but it would be trivial to add. If you or anyone else is interested in making this work, add a check forparamVersion == "stable"` here:
We currently
Hi folks, sory about my bad english.
I'm trying get up nsq services at containerum, at containerum the public port to services and container are random. With nsqlookupd and nsqadmin it's easy not a big trouble.
But when we try to run nsqd it's registrer ther right broadcast url but the follow ports that nsqd register is that expose in container and not the service port random assigned with the
What version of Go are you using (go version)?
1.12
Which database and its version are you using?
mysql 5.7
Please provide a complete runnable program to reproduce your issue. IMPORTANT
The documentation isn't to clear when it comes to querying by nested associations. For example, consider following structure.
// User has one Profile and belongs to many InstitCreated by Robert Griesemer, Rob Pike, Ken Thompson
Released November 10, 2009
- Repository
- golang/go
- Website
- golang.org
- Wikipedia
- Wikipedia
Over the last few years, Go standard library has done a great job by improving the examples coverage. However, some of the examples are difficult to read or too comprehensive to be a reference for basic usage.
Standard library examples can help more if they were simpler and more copy/paste-able. More comprehensive scenarios can be covered as secondary examples or in other mediums such as https: