Skip to content
#

Go

go logo

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 35,031 public repositories matching this topic...

grafana
kvrhdn
kvrhdn commented May 28, 2021

This is kind of a follow up to #32677 and the PR #34762.

In #34762 we improved the test data source implementation by checking the body of the response from Tempo. The Tempo team is not comfortable making the body of a 404 response part of our stable API, so instead we are currently adding a separate endpoint specifically for testing: /api/echo (grafana/tempo#714).

tomasz1986
tomasz1986 commented Nov 12, 2020

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

caddy
excid3
excid3 commented Jun 17, 2021

I'm managing a bunch of servers and they're running Caddy v2. The upgrade command works great for upgrading with the packages previously chosen. In the future, it's likely I'll want to add/remove packages from that list over time.

Would it make sense to add flags to add and remove packages from the caddy build on upgrade?

caddy upgrade --add-package github.com/caddy-dns/cloudflare
flycash
flycash commented Jan 28, 2021

There is a config item Config.LogConfig.AccessLogs, if it was true, Beego log web request and response.

Actually, it's not a good design. As we all known, Log is a typical AOP logic, it should not couple with "business" logic. But now, audit couple with Beego logic.

The relative code:

// AccessLogRecord is astruct for holding access log data.
type AccessLogRecord struct {
	Remo
cockroach
rafiss
rafiss commented Jul 23, 2021

cardinality returns the number of elements in the array. In Postgres, it's recursive, and counts each element in every dimension. Since CockroachDB only supports 1-dimensional arrays right now, the function is similar to array_len

See https://www.postgresql.org/docs/13/functions-array.html

Instructions:

Created by Robert Griesemer, Rob Pike, Ken Thompson

Released November 10, 2009

Repository
golang/go
Website
golang.org
Wikipedia
Wikipedia

Related Topics

c language