The Wayback Machine - https://web.archive.org/web/20200404230047/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 25,481 public repositories matching this topic...

hugo
carlmjohnson
carlmjohnson commented Jan 23, 2020

#5470 is great, but AFAICT it's not documented anywhere. I was writing a partial and thinking "I thought there was some way of getting a global site function?" and I only found it by just experimenting and trying {{ site }}. Maybe I saw it in a Regis blog post at some point or something. Anyway, it should be in the list of Functions, if nothing else.

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

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

tskarhed
tskarhed commented Apr 1, 2020

The background bleeds from the RadioButtonGroup. It's weird, because I can't find a place where the background is set. Changing to transparent doesn't work, but it's possible to see the change when using any other color.

Component can be found here https://github.com/grafana/grafana/blob/master/packages/grafana-ui/src/components/Forms/RadioButtonGroup/RadioButtonGroup.tsx

![image](https://

calmh
calmh commented Feb 26, 2020

Continuing the discussion from #6363, we changed the proxy behavior in 1.3.3. Prior to 1.3.3, when a proxy is set but not ALL_PROXY_NO_FALLBACK:

  1. Try to connect via proxy
  2. If that failed, try to connect directly

Post 1.3.3, we:

  1. Start a connection attempt via proxy
  2. Start a connection attempt directly
  3. Wait for the proxy connection to succeed or fail
  4. Return the proxy co
traefik
caddy
minio
matthdsm
matthdsm commented Apr 1, 2020

Is your feature request related to a problem? Please describe.
When trying the STS authentication using the web-identity, there's no usable policy specified in the docs. This has cost us several days of debugging to figure out what was wrong (we were using the default readonly policy

Describe the solution you'd like
Add an example policy json that's usable with the reference go app,

ssbarnea
ssbarnea commented Jul 8, 2019

One common use case for project maintainers is to update a broken pull request which was made by someone else.

Hub should be able to help maintainers doing the following steps:

  • grab a pull request
  • update the pull request (rebase or other change)
  • update the pull request (aka pushing it)
jsteenb2
jsteenb2 commented Feb 27, 2020

Right now we have the following, which doesn't validatie the needs of a given view. This allows for any colors to be provided, not necessarily the ones that are required. I'd recommend making these color validations accurate, where for Gauge it would require the min and max for instance. I'm assuming these are required for gauge, that may be in error. Would be nice to provide swagger that p

yuzefovich
yuzefovich commented Feb 1, 2020

According to PostgreSQL docs (https://www.postgresql.org/docs/9.4/catalog-pg-aggregate.html):

"The catalog pg_aggregate stores information about aggregate functions. An aggregate function is a function that operates on a set of values (typically one column from each row that matches a query condition) and returns a single value computed from all these values. Typical aggregate functions are `

mattermost-server
harshilsharma63
harshilsharma63 commented Feb 24, 2020

Summary

Plugin helper function EnsureBot doesn't compare bot details and only checks if a bot already exists for the plugin. This causes EnsureBot to return invalid bot data when, for example, changing a bot username or trying to create multiple bots.

Steps to reproduce

  1. Create a plugin that uses EnsureBot to create a bot with username foo.
  2. Install and run this plugin
medyagh
medyagh commented Mar 23, 2020

when docker is not installed for none, instead of crashing, we could tell user nicely, please install docker

medya@none-experiment-instance-1-medya:~$ sudo minikube start --vm-driver=none
😄  minikube v1.8.2 on Ubuntu 18.04
✨  Using the none driver based on user configuration
🤹  Running on localhost (CPUs=2, Memory=7470MB, Disk=9749MB) ...
💣  Unable to start VM. Please investigate and run
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.

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 
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

delwaterman
delwaterman commented Mar 1, 2020

Issue Description

If you attempt to use the Echo logger before the server is started no output is actually written

Checklist

  • Dependencies installed
  • No typos
  • Searched existing issues and docs

Expected behaviour

Using e.Logger.Info() writes output to log outside a handler

Actual behaviour

Using e.Logger.Info() does not write output to log ou

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.