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 34,499 public repositories matching this topic...

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
ctsrc
ctsrc commented Jul 2, 2021

Hi,

I am running Caddy v2.4.3 on FreeBSD 12.2

I have an entry in my Caddyfile that looks like this (obviously the domain names and the Cloudflare key have been substituted with placeholder values here, but other than that I am showing exactly what I have):

api.example.com {
    reverse_proxy {
        to 10.13.37.7 unix//var/www/com.example.api/example-http-api/run/public.sock
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

Created by Robert Griesemer, Rob Pike, Ken Thompson

Released November 10, 2009

Repository
golang/go
Website
golang.org
Wikipedia
Wikipedia

Related Topics

c language