Skip to content

Instantly share code, notes, and snippets.

Jason Buberel jbuberel

Block or report user

Report or block jbuberel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jbuberel
jbuberel / fluentlogger.go
Created Nov 16, 2015
Using Fluentd logger with Go on Google Cloud
View fluentlogger.go
// You'll need to run the following command:
// go get github.com/fluent/fluent-logger-golang/fluent
// ...before running this code sample with 'go run'
package main
import (
"runtime"
"github.com/fluent/fluent-logger-golang/fluent"
)
func main() {
logger, _ := fluent.New(fluent.Config{})
View NoGopath.md

Background

In conversations with several community members who have been in the position of teaching new Go programmers how the Go toolchain works, $GOPATH is often mentioned as an unecessary hurdle. For some users, especially on Windows, setting environment variables is not second nature.

When users are attempting to run their first Go programs, supporting a default value for $GOPATH would make life simpler.

Proposal

You can’t perform that action at this time.