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,365 public repositories matching this topic...
-
Updated
Mar 6, 2021 - Go
-
Updated
Mar 5, 2021 - Go
-
Updated
Mar 3, 2021 - Go
-
Updated
Feb 27, 2021 - Go
-
Updated
Mar 6, 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
Mar 6, 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
Mar 6, 2021 - Go
-
Updated
Mar 6, 2021 - Go
What is your current rclone version (output from rclone version)?
Running latest stable and a couple of betas on various machines.
What problem are you are trying to solve?
I've got a systemd unit that starts rclone rcd.
I've got other systemd units that depend on the first one, which use rclone rc mount/mount in order to mount various remotes.
Right now I have to
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) ProtobufRe- Gitea version (or commit ref): 1.13.2 built with GNU Make 4.3, go1.15.7 : bindata, timetzdata, sqlite, sqlite_unlock_notify
- Git version: 2.26.2
- Operating system:
- Database (use
[x]):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Log gist:
Description
Pleas
-
Updated
Mar 6, 2021 - Go
-
Updated
Mar 5, 2021 - Go
-
Updated
Mar 3, 2021 - Makefile
-
Updated
Mar 6, 2021 - Go
-
Updated
Mar 4, 2021 - Go
GenMarkdownTreeCustom has a way to a header (filePrepender arg), however there is not a first class way to add a footer.
website/handbook: don't advise users to create a symbolic link to minikube’s binary named ‘kubectl’
this confuses users and doesn't work (eg, minikube calling kubectl would loopback to itself)
ref: https://minikube.sigs.k8s.io/docs/handbook/kubectl/ (https://github.com/kubernetes/minikube/blob/master/site/content/en/docs/handbook/kubectl.md)
Alternatively, you can create a symbolic link to minikube’s binary named ‘kubectl’.
ln -s $(which minikube) /usr/local/bin/kubectl
examp
-
Updated
Mar 4, 2021 - Go
Created by Robert Griesemer, Rob Pike, Ken Thompson
Released November 10, 2009
- Repository
- golang/go
- Website
- golang.org
- Wikipedia
- Wikipedia
After #98277 got merged, we have added new helper function
ValidateQualifiedNamehere: https://github.com/kubernetes/kubernetes/blob/master/pkg/apis/core/validation/validation.go#L126.It will be good for us to use this simpler helper function to replace previous
IsQualifiedNamefunction./good-first-issue