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 26,822 public repositories matching this topic...
What would you like to be added:
I would like debug logging to show the heart of the processing of a patch request. For example, showing the inputs and outputs of https://github.com/kubernetes/apiserver/blob/fa3c8ad6d7aff4ba13bf7296583ed2815db1be44/pkg/endpoints/handlers/patch.go#L620 .
Why is this needed:
Description
According to commit moby/moby@32915b1, we can no longer build binary-client
by running ./hack/make.sh binary-client
.
The document could be updated.
-
Updated
May 23, 2020 - Go
If you use a shortcode in a content file in order to embed a read time estimation for that content file within itself, the estimation always comes back as 0. This is probably because the parser hasn't finished converting the document by the time it gets to the read time estimation so it can't actually get an estimate for it. This is supported by the fact that, when embedding a read time estimation
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
-
Updated
May 23, 2020 - Go
When viewing a list of variables, each row has an ambiguous element labeled "duplicate." The user may not know if this is a tag or status indicator using "duplicate" as an adjective/noun to describe the variable as having a conflict with something else or
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Creating a symlink called README.md in the repository root (that points to another markdown file) should render a preview on the repository web page.
At the moment, it only displays the name of the symlink in the preview pane.
See screenshot below.
On Github a README symlink to a
This is the scene:
I set a sync folder which enabled File Versioning and set the versions path to /sdcard/Syncthing control/Desktop/Markdown
, but I didn't create this path manually, and when syncing, there would be conflict, when I check the logs, it says:
Puller (folder "/sdcard/Documents/Markdown" (lziuh-l9bdv), item "test.pdf"): delete file: mkdir /sdcard/Syncthing control/D
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
Do you want to request a feature or report a bug?
Documentation improvement
In digestAuth documentation, Kubernetes section does not contain any useful example explaining how to put credentials into a file. The given example is same as users(using base
(Feature request out of https://caddy.community/t/use-placeholders-in-templates/7697)
I would like to see the ability of using placeholders like {http.error.status_code}
in templates. This would allow us, for example, to create a single custom error page in nginx style. For now we have to create a page for every status code we would like to support (maybe using respond
with include and ar
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")
烦请帮忙更新一下,以免其他用户受误导,谢谢!
This is to specifically ease the reviewing of healing related PRs. As we know, healing has more asynchronous decoupled tasks which we need to keep track to join our thoughts (specially during the review)
A design documentation, maybe with a design diagram would help to understand the process and differences between self-healing and admin-healing
Ideally we can keep track of the fore coming c
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.
- Gitea version (or commit ref):
Gitea version 1.11.4 built with GNU Make 4.1, go1.13.9 : bindata, sqlite, sqlite_unlock_notify
- Git version: 2.20.1
- Operating system: Debian
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
One common use case for project maintainers is to update a broken pull request which was made by someone else.
Hub should be able to help maintainers doing the following steps:
- grab a pull request
- update the pull request (rebase or other change)
- update the pull request (aka pushing it)
Right now we have the following, which doesn't validatie the needs of a given view. This allows for any colors to be provided, not necessarily the ones that are required. I'd recommend making these color validations accurate, where for Gauge
it would require the min
and max
for instance. I'm assuming these are required for gauge, that may be in error. Would be nice to provide swagger that p
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
Sorry in advance but the issue template really does not apply at all to my issue.
Abstract
When using the none driver in a linux environment I get issues with PVCs after restarting. This is due to the /tmp
directory being a tmpfs
filesystem.
Details
Many mainstream linux distributions adopted systemd as the init system quite a while ago, and under this system, the /tmp
director
Description
I tried to create via REST a Bot without setting the username and I get an "Invalid email" error
Steps:
POST http://localhost:8065/api/v4/bots
{"display_name":"Alfred","description":"CMS Automation"}
And response is:
`{"id":"model.user.is_valid.email.app_error","message":"Invalid email","detailed_error":"","request_id":"4by66j8tcjfpmjn65sjjbrwn1y","status_code":4
Implement ST_Centroid
on arguments {geography,bool}, which should adopt PostGIS behaviour.
For Geography builtins, please do the following:
- Ideally add a relevant helper function in
pkg/geo/geogfn
(parse and output related functions can go in [pkg/geo
](https://github.com/coc
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.
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
Issue Description
I updated echo in one of my projects. After that my static configuration didn't work without changes. Before it automatically resolved to an existing index.html. After that I had to point to that file.
My code was something like that:
docsGroup := e.Group("")
docsGroup.Static("/", "docs")
In docs is an index.html which was delivered when no path was given
Created by Robert Griesemer, Rob Pike, Ken Thompson
Released November 10, 2009
- Repository
- golang/go
- Website
- golang.org
- Wikipedia
- Wikipedia
Hello,
I wanted to reach out and see whether there is an interest in the fix for #34437 being included in the Go release notes. Someone I know was finally working through upgrading to Go 1.14 and ran in to some peculiar issues with their JSON being unmarshaled differently. Here is that commit on our side: