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,947 public repositories matching this topic...
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 24, 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: [['$$','$$'], ['\
Description
Using the fetch API from WHATWG in Google Chrome, an image upload does not have Content-Type multipart/form-data. Instead, the content type is set to the MIME type (ex: image/jpeg) with a boundary parameter. Setting Content-Type explicitly to multipart/form-data should result in an error (and it does).
How to reproduce
Follow an existing image upload example from
In grafana v6.4.x the property GF_SECURITY_DISABLE_BRUTE_FORCE_LOGIN_PROTECTION is not used, is there a substitution for this property or it is definitely obsolete?
on github we can see feature: we can add lines to diff up and down of original diff if needed - for looking more text from source file if needed.
in gogs we have limited list of lines in diff and can't add more lines if needed.
will be better to have ability for it.
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
There is a document describing how to migrate an existing etcd cluster from HTTP communication to encrypted HTTPS.
The document uses v2-based CLI, some of those commands have different args or output format in their v3 equivalent, and some of them (like etcdctl cluster-health) doesn't seem to exist in v3. The documen
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
- I have read through the manual page (
man fzf) - I have the latest version of fzf
- I have searched through the existing issues
Info
- OS
- Linux
- Mac OS X
- Windows
- Etc.
- Shell
- bash
- zsh
- fish
Problem / Steps to reproduce
When supplying colored input to 'fzf --ansi', the highlighted entr
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")
烦请帮忙更新一下,以免其他用户受误导,谢谢!
the SSE feed should cache repository permissions to reduce database lookups. There are no documented issues of this being a problem, but this sort of performance improvements seems like low hanging fruit.
Issue
I could not find a description of how minio handles storage usage reporting in the minio documentation.
I believe the following is roughly true - determined by experimentation, looking at old tickets, and source code:
- The web browser interface shows total storage used
mc admin infoshows the total number of objects and buckets, and total size used- Both appear to be usin
Apparently it should work now but it's not clear how to get there: github/hub#2149
Can you document it somewhere?
The contribution guide is missing information detailing Rust and Typescript.
- Gitea version (or commit ref): 1.10
- Git version: n/a
- Operating system: n/a
- Database: n/a
- Test url: https://try.gitea.io/api/swagger
Description
When working with the API I came across a number of documentation inconsistencies:
- all API calls for users refer to
{username}.. however looking at the fields of a user there is nousernamefield, onlylogin. More co
Is your feature request related to a problem? Please describe.
After setting up CDC on the registration cluster, we noticed that the files sent to the S3 bucket were uncompressed and therefore consumed much more space than the logical size in the cluster. For reference, the stmtstats table was 250 GiB in the admin UI, but it was around 8 TB in S3.
We should compress the CDC output files.
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.
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/file*attachment/file*thumbnail (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.
jsto `t
minikube can't pull image from private repository despite a working docker config containing valid auth information. Reason: access denied. A minikube ssh 'docker pull my-registry.foo.bar/my/private/image:latest' works as expected
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
followed the docs for has manyhttp://gorm.io/docs/has_many.html for sqlilite
package main
import (
"fmt"
"github.com/jinzhu/gorm"
_ "github.com/mattn/go-sqlite3"
)
type User struct {
Id string
Name string
CreditCards []CreditCard `gorm:"FOREIGNKEY:user_id;ASSOCIATION_FOREIGNKEY:id"`
}
type CreditCard struct {
Id int
Number string
UserID
Issue Description
Starting in version 4.1.7 the colors no longer show up in the middleware.Logger output for ${status}. I suspect this is because of #1336.
(Note that the output in the command line of the echo version number in my screenshots seems to have been off by one. Probably related to 09d415cefca8c1d470a80566f344d98652ba5728.)
Checklist
- Dependencies installed
Created by Robert Griesemer, Rob Pike, Ken Thompson
Released November 10, 2009
- Repository
- golang/go
- Website
- golang.org
- Wikipedia
- Wikipedia
net.ListenIP
The documentation of
net.ListenIPsays:However using one of the documented IP network names (like "ip" or "ip4") causes the function to return an error on Linux; e.g.
unknown network ip.According to #7439: