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

robpike
robpike commented Dec 21, 2019

I know it's an internal package, but the package doc for internal/telemetry is poorly conceived:

Package telemetry provides an opinionated set of packages that cover the
main concepts of telemetry in an implementation agnostic way. As a library
author you should look at...

It doesn't say what the package does. It claims that the package is "opinionated' (a passive-agressive way t

hugo
cup
cup commented Dec 19, 2019

When missing layouts, Hugo presents this output:

WARN 2019/12/18 19:42:47 found no layout file for "HTML" for "home": You should
create a template file which matches Hugo Layouts Lookup Rules for this
combination.

WARN 2019/12/18 19:42:47 found no layout file for "HTML" for "page": You should
create a template file which matches Hugo Layouts Lookup Rules for this
combination.

WAR
sguillia
sguillia commented Aug 7, 2019

Please take a look at the following code

package main

import (
	"github.com/gin-gonic/gin"
)

func main() {
	r := gin.New()

	r.GET("/ping", func(c *gin.Context) { c.JSON(200, gin.H{}) })

	r.Use(gin.Logger())

	r.GET("/pingx", func(c *gin.Context) { c.JSON(200, gin.H{}) })

	r.Run()
}

And now please take a look at [the documentation for Use()](https://godoc.org/gi

gogs
dezzeus
dezzeus commented Nov 20, 2019

Within the organization's page I was expecting to find our private repositories, but they weren't there; only the public ones. I happened to find them only throught the generic "explore" menù.

The organizazion's page should list only the public repositories when the user isn'n logged in or if he/she doesn't have the permissions. Otherwise both the public and private ones should be listed.

Go

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

jsfrerot
jsfrerot commented Mar 15, 2019

It took me a while to find how to grant permission for locks to a role. Since this isn't documented it should be added. Here is how I've been able to grant permission

etcdctl role grant-permission my_rw_locks --prefix=true readwrite _locks//my_service_locks/

This will allow locks to be created under /my_service_locks/*

traefik
caddy
minio
aead
aead commented Nov 25, 2019

Expected Behavior

API: PutObject(bucket=system, object=732358.txt)
Time: 10/01/2019, 3:16:41 PM
DeploymentID: 6faeded5-5cf3-4133-8a37-07c5d500207c
RemoteHost: play.minio.io:9000
Error: no space left on device
2: cmd/xl-v1-metadata.go:441:cmd.writeXLMetadata()
1: cmd/xl-v1-metadata.go:474:cmd.writeUniqueXLMetadata
JustAnotherArchivist
JustAnotherArchivist commented Dec 24, 2019

I am currently working on a custom notification system involving Gitea. The details of this setup aren't really relevant to the topic at hand; there'll be an HTTP server that takes events via webhooks and produces notifications to send elsewhere.

My problem: there's hardly any documentation on webhooks. The doc page merely lists the different hooks avail

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/admin*console/system_users/system_users*dropdown (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 extensio
tstromberg
tstromberg commented Dec 19, 2019

As proposed by @robrich in #6122

As I mentioned there, minikube does not yet support latest or stableversion aliases, but it would be trivial to add. If you or anyone else is interested in making this work, add a check forparamVersion == "stable"` here:

https://github.com/kubernetes/minikube/blob/56c72e207965e6ff6fb760ed47a5039d0f3fb121/cmd/minikube/cmd/start.go#L1127

We currently

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

Gradecak
Gradecak commented Oct 3, 2019

What version of Go are you using (go version)?

1.12

Which database and its version are you using?

mysql 5.7

Please provide a complete runnable program to reproduce your issue. IMPORTANT

The documentation isn't to clear when it comes to querying by nested associations. For example, consider following structure.

// User has one Profile and belongs to many Instit

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.