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 33,043 public repositories matching this topic...
-
Updated
Apr 10, 2021 - Go
-
Updated
Apr 10, 2021 - Go
-
Updated
Apr 10, 2021 - Go
-
Updated
Apr 10, 2021 - Go
-
Updated
Apr 10, 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
Apr 10, 2021 - Go
I’m trying to script setup and configuration of caddy server based on a custom download that includes additional plugins (caddy-auth-portal, caddy-auth-jwt, caddy-trace, and various caddy-dns modules ).
During setup, the caddy unit file is configured to run caddy as a non priveledged user (by design).
To get certificates configured properly we are attempting to use the caddy trust command
I had a unclean shutdown less than a day ago and got this warning afterwards:
WARN [03-26|10:10:29.944] Unclean shutdown detected booted=2021-03-17T13:16:42+0000 age=1w1d20h
As it would be better to have the "age=" part closer to the shutdown @holiman suggested to update the marker like every 5 minutes
-
Updated
Apr 10, 2021 - Go
-
Updated
Apr 10, 2021 - Go
What is the problem you are having with rclone?
In config file, known_hosts_file = ~/.ssh/known_hosts fails:
2021/04/07 21:07:32 Failed to create file system for "<remote>:": couldn't parse known_hosts_file: open ~/.ssh/known_hosts:
The system cannot find the path specified.
Using known_hosts_file = C:/Users/<USER>/.ssh/known_hosts succeeds.
I suspect that there's
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) ProtobufReYour api is quite powerful to access al kinds of information in a git repository. But there is no way to access git-notes.
https://git-scm.com/docs/git-notes
we use git-notes to annotate commits without changing the commit itself. git log shows them along with the commit messages and gitea shows them in the web ui. But the api access is missing.
it would be nice to have access to git-note
-
Updated
Apr 10, 2021 - Go
-
Updated
Apr 4, 2021 - Go
-
Updated
Mar 19, 2021 - Makefile
-
Updated
Apr 9, 2021 - Go
GenMarkdownTreeCustom has a way to a header (filePrepender arg), however there is not a first class way to add a footer.
-
Updated
Apr 7, 2021 - Go
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
Apr 5, 2021 - Go
Created by Robert Griesemer, Rob Pike, Ken Thompson
Released November 10, 2009
- Repository
- golang/go
- Website
- golang.org
- Wikipedia
- Wikipedia
Follow-up of kubernetes/kubernetes#98241 (comment). Currently we maintain a local registry for looking up the ClusterEvent obj by specifying a cluste event (string). The registry is not that necessary as we can build that ClusterEvent obj on the fly in movePodsToActiveOrBackoffQueue().
/kind cleanup
/sig scheduling