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,566 public repositories matching this topic...
-
Updated
Mar 17, 2021 - Go
-
Updated
Mar 17, 2021 - Go
-
Updated
Mar 17, 2021 - Go
-
Updated
Mar 16, 2021 - Go
-
Updated
Mar 17, 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 17, 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
If we config the cache options in the config file, then it will be overwritten.
-
Updated
Mar 17, 2021 - Go
-
Updated
Mar 17, 2021 - Go
What is the problem you are having with rclone?
ncdu
reports a wrong number for file count when that number is large enough to require a suffix.
I'm not an expert in go, but I suspect the problem resides in the file /cmd/ncdu/ncdu.go
at row 376
.
In particular, we are using the SizeSuffix(...)
that are (in my opinion) intended for file size. Therefore it will use the 1024 multip
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 17, 2021 - Go
-
Updated
Mar 16, 2021 - Go
-
Updated
Mar 9, 2021 - Makefile
-
Updated
Mar 17, 2021 - Go
-
Updated
Mar 9, 2021 - Go
GenMarkdownTreeCustom has a way to a header (filePrepender
arg), however there is not a first class way to add a footer.
Steps to reproduce the issue:
1.docker system prune --volumes
2. systemctl --user restart docker
3.minikube delete
4. minikube start --driver=docker
Full output of failed command:
I0228 21:16:45.860078
-
Updated
Mar 14, 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