The Wayback Machine - https://web.archive.org/web/20210317181622/https://github.com/topics/go
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 32,566 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
tgelite
tgelite commented Mar 11, 2021

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

zanna-37
zanna-37 commented Mar 14, 2021

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

flycash
flycash commented Feb 10, 2021

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

Created by Robert Griesemer, Rob Pike, Ken Thompson

Released November 10, 2009

Repository
golang/go
Website
golang.org
Wikipedia
Wikipedia

Related Topics

c language