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 23,855 public repositories matching this topic...

rakyll
rakyll commented Jan 6, 2020

Over the last few years, Go standard library has done a great job by improving the examples coverage. However, some of the examples are difficult to read or too comprehensive to be a reference for basic usage.

Standard library examples can help more if they were simpler and more copy/paste-able. More comprehensive scenarios can be covered as secondary examples or in other mediums such as https:

Huang-Wei
Huang-Wei commented Jan 17, 2020

In our scheduler tests, we rely on a hard-coded instantiation of empty pluginSet for necessary extensionPoint. It'd be good to handle the instantiation dynamically, so every time we add a test, the author doesn't need to worry about whether the pluginSet for an extension point has been instantiated or not.

Here are some occurrences, but it would be good to search thoroughly:

⇒  ag
hugo
KernelDeimos
KernelDeimos commented Nov 16, 2019

Description

Using the fetch API from WHATWG in Google Chrome, an image upload does not have Content-Type multipart/form-data. Instead, the content type is set to the MIME type (ex: image/jpeg) with a boundary parameter. Setting Content-Type explicitly to multipart/form-data should result in an error (and it does).

How to reproduce

Follow an existing image upload example from

gogs
adrianlshaw
adrianlshaw commented Jul 3, 2019

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Creating a symlink called README.md in the repository root (that points to another markdown file) should render a preview on the repository web page.

At the moment, it only displays the name of the symlink in the preview pane.
See screenshot below.

On Github a README symlink to a

gjulianm
gjulianm commented Nov 15, 2019

What would you like to be added: A check when loading providers for dashboard provisioners that enforces unique names, as specified in the documentation.

Why is this needed: If someone does not pay much attention to the documentation and does not see that the provisioning provider names must be unique, a weird problem c

recolic
recolic commented Aug 9, 2019

I'm trying to setup frp server on my vps.

It would be really helpful if frp/README.md contains a Installation section like other open source project does.

The installation guide should mention at least the following:

  1. How to install go dependencies (in one command: go get ./.... Chinese user may have to break the fucking government wall)

  2. How to build the package. Should I use

andreymal
andreymal commented Aug 27, 2019

I tried to use a UNIX socket with nginx, but the default permission bits for the socket are 644:

$ ls -l syncthing.sock 
srwxr-xr-x 1 syncthing syncthing 0 авг 27 15:32 syncthing.sock

Nginx uses www-data user, and that's why it can't use this UNIX socket and prints "Permission denied".

I can change these permission bits using umask 0007 to make it work, but this solution is n

mitinarseny
mitinarseny commented Dec 19, 2019

It would be really convenient to add functionality to abort FZF if current search line is empty and backspace is pressed. Howerver, it should not abort if backspace was held to actually delete characters as it would be hard to unpress arrow button right before it reaches the start of line to avoid accidental exiting. Is it possible to implement?

caddy
bradrydzewski
bradrydzewski commented Apr 13, 2019

the SSE feed should cache repository permissions to reduce database lookups. There are no documented issues of this being a problem, but this sort of performance improvements seems like low hanging fruit.

minio
candlerb
candlerb commented Dec 31, 2019

Issue

I could not find a description of how minio handles storage usage reporting in the minio documentation.

I believe the following is roughly true - determined by experimentation, looking at old tickets, and source code:

  • The web browser interface shows total storage used
  • mc admin info shows the total number of objects and buckets, and total size used
  • Both appear to be usin
ederuiter
ederuiter commented Jan 7, 2020

Description

When working with the API I came across a number of documentation inconsistencies:

  • all API calls for users refer to {username} .. however looking at the fields of a user there is no username field, only login. More co
RaduBerinde
RaduBerinde commented Dec 16, 2019

See example below. Best plan is a lookup join, but we don't get that with the semi-join. The reason is that each side is projecting a tuple, and we are constraining those to be equal. A rule that detects this projection and converts to multiple equalities should fix this.

exec-ddl
CREATE TABLE ab (
  a INT,
  b INT,
  PRIMARY KEY (a,b)
)
----


exec-ddl
CREATE TABLE cd (
  c INT
iris
asyslinux
asyslinux commented Dec 28, 2019

Dear developers. I write my custom specific web server for work with specific archive files, compression, encryption, etc. And i want to publish my web server under BSD-2-Clause license.

In my project i use Iris and Iris logger as basement.
I'm not going to use the name of your project to promote my project.

Can I publish my project under the BSD-2-Clause license?

Thanks.

mattermost-server
mattermod
mattermod commented Dec 23, 2019

We are starting to migrate the mattermost-webapp over to TypeScript to facilitate better code quality. This Help Wanted issue is to modify all files in components/more_channels (not sub-directories included) and associated test files.

Below is a checklist of items you should be doing to migrate:

  • < ] Rename the files to their associated TypeScript extensions (ie. js to ts, jsx to `tsx
medyagh
medyagh commented Jan 14, 2020

currently it keeps printing the first time someone looks at it, it looks a bit scary
specially with word errors repeating 4 times.

Status:	
	machine: minikube
	pid: 48635
	route: 10.96.0.0/12 -> 172.17.0.2
	minikube: Running
	services: [hello-minikube1]
    errors: 
		minikube: no errors
		router: no errors
		loadbalancer emulator: no errors

I purpose if there is no erro

heat
heat commented Aug 21, 2018

Hi folks, sory about my bad english.
I'm trying get up nsq services at containerum, at containerum the public port to services and container are random. With nsqlookupd and nsqadmin it's easy not a big trouble.
But when we try to run nsqd it's registrer ther right broadcast url but the follow ports that nsqd register is that expose in container and not the service port random assigned with the

medyagh
medyagh commented Jan 4, 2020

followed the docs for has manyhttp://gorm.io/docs/has_many.html for sqlilite

package main

import (
	"fmt"

	"github.com/jinzhu/gorm"
	_ "github.com/mattn/go-sqlite3"
)


type User struct {
	Id          string
	Name        string
	CreditCards []CreditCard `gorm:"FOREIGNKEY:user_id;ASSOCIATION_FOREIGNKEY:id"`
}

type CreditCard struct {
	Id     int
	Number string
	UserID 
ccampbell
ccampbell commented Oct 8, 2019

Issue Description

Starting in version 4.1.7 the colors no longer show up in the middleware.Logger output for ${status}. I suspect this is because of #1336.

(Note that the output in the command line of the echo version number in my screenshots seems to have been off by one. Probably related to 09d415cefca8c1d470a80566f344d98652ba5728.)

Checklist

  • Dependencies installed

Created by Robert Griesemer, Rob Pike, Ken Thompson

Released November 10, 2009

Repository
golang/go
Website
golang.org
Wikipedia
Wikipedia

Related Topics

c language
You can’t perform that action at this time.