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 32,036 public repositories matching this topic...
-
Updated
Feb 16, 2021 - Go
-
Updated
Feb 16, 2021 - Go
-
Updated
Feb 16, 2021 - Go
-
Updated
Feb 14, 2021 - Go
-
Updated
Feb 7, 2021 - Go
Right now, Syncthing seems to always use LF for line endings in config.xml and .stignore. This is a problem in Windows when trying to edit those using the built-in Notepad, which until very recently had no support for other line endings than CRLF. Support for them has only been added in the very recent versions of Windows 10.
The problem is that when opening those files in Notepad under old
"found" by the @discordapp troops the hard way: https://status.discordapp.com/incidents/62gt9cgjwdgf
pinging @zorkian who pointed it out to me.
trivial to repro, this is against a 3.3.13 on fedora-31.
$ etcdctl set /baa schnorp
$ etcdctl get /baa
schnorp
$ echo -ne 'PUT /v2/keys/baa HTTP/1.1\r\nHost: boo\r\nContent-Length: 123\r\n\r\n' | nc localhost 2379
HTTP/1.1 200 OK
...
$ et
-
Updated
Feb 16, 2021 - Go
Currently the install_trust option for CAs from the pki module can only be configured via JSON/API.
Setting TLS to internal with option on_demand is easily possible with a Caddyfile and allows for a quick and simple internal setup. Trust store installation on the machine itself is not necessary and only leads to startup errors being logged from both sudo and caddy.
Therefore it w
If we config the cache options in the config file, then it will be overwritten.
-
Updated
Feb 16, 2021 - Go
-
Updated
Feb 16, 2021 - Go
Now, if we want to output response, we have to do:
c.Data["json"]
c.ServeJSON()In fact, we could provide some simple APIs.
I propose adding several new function to web.controller.
func (c *Controller) JSONResp(data interface{}) error {
j := json.Marshal
// ...
}
func (c *Controller) XmlResp(data interface{}) error {
}
func (c *Controller) ProtobufRePOST /repos/{owner}/{repo}/tags/{tag} to create a tag
-
Updated
Feb 16, 2021 - Go
-
Updated
Feb 14, 2021 - Go
-
Updated
Feb 15, 2021 - Makefile
-
Updated
Feb 8, 2021 - Go
-
Updated
Feb 16, 2021 - Go
GenMarkdownTreeCustom has a way to a header (filePrepender arg), however there is not a first class way to add a footer.
here we confuse the user with two things
and
we should had sticked with first advice
drewpca(pts/0):~% minikube start -p foo --memory 6GB
😄 [foo] m
Is your feature request related to a problem? Please describe.
During testing I expected github.com/kataras/iris/v12/httptest.Response.Status to fail the test immediately if a different status is received. Therefore on subsequent lines I performed some operations that could result in a panic if let's say the response code was not as expected. It turns that it does not fail fast, it simply f
Created by Robert Griesemer, Rob Pike, Ken Thompson
Released November 10, 2009
- Repository
- golang/go
- Website
- golang.org
- Wikipedia
- Wikipedia
Inspired by #98726
There are a lot of tests (pkg/apis/networking/validation/validation_test.go in that PR) that have tables of structures like Service or NetworkPolicy, where the struct has to be complete enough (e.g. to pass validation) but each test-case only modifies one tiny section of the otherwise boilerplate struct.
The result is a LOT of noise which makes the actual differences hard