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,151 public repositories matching this topic...
-
Updated
Feb 22, 2021 - Go
-
Updated
Feb 22, 2021 - Go
-
Updated
Feb 22, 2021 - Go
-
Updated
Feb 19, 2021 - Go
-
Updated
Feb 22, 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 22, 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 23, 2021 - Go
-
Updated
Feb 23, 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 22, 2021 - Go
-
Updated
Feb 19, 2021 - Go
-
Updated
Feb 21, 2021 - Makefile
-
Updated
Feb 8, 2021 - Go
-
Updated
Feb 22, 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
-
Updated
Feb 21, 2021 - Go
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