profile
viewpoint

marnie-eure/eks-workshop-sample-api-service-go 0

Sample Kubernetes service used in the EKS Workshop CI/CD CodePipeline module

marnie-eure/eurekache 0

fallback cache system with multiple cache source for go

marnie-eure/go-api-generation-sample 0

detail : http://blog.wacul.jp/blog/2014/10/24/go-rest-api/

marnie-eure/go-slack-interactive 0

Sample slack bot which uses slack interactive message (button & menue) written in Golang

startedmarcusolsson/goddd

started time in 3 days

startedmarcusolsson/goddd

started time in 3 days

Pull request review commenttanakarian/fluent-bit-google-pubsub-out

Init Fluent-Bit Go Output Plugin for Google Cloud PubSub

+package main++import (+	"C"+	"context"+	"fmt"+	"unsafe"+)+import "github.com/fluent/fluent-bit-go/output"+import "cloud.google.com/go/pubsub"++var outpubsubclient *OutPubSubClient++//export FLBPluginRegister+func FLBPluginRegister(flbCtx unsafe.Pointer) int {+	return output.FLBPluginRegister(flbCtx, "gcloud_pubsub", "Output to Google Cloud PubSub")+}++//export FLBPluginInit+func FLBPluginInit(flbCtx unsafe.Pointer) int {+	// required+	projectId := output.FLBPluginConfigKey(flbCtx, "Project")+	topicId := output.FLBPluginConfigKey(flbCtx, "Topic")+	keyPath := output.FLBPluginConfigKey(flbCtx, "Key")++	c, err := NewOutPubSubClient(projectId, topicId, keyPath)+	if err != nil {+		return output.FLB_ERROR

fmtで標準出力にはいてる感じか

tanakarian

comment created time in a month

Pull request review commenttanakarian/fluent-bit-google-pubsub-out

Init Fluent-Bit Go Output Plugin for Google Cloud PubSub

+package main++import (+	"C"+	"context"+	"fmt"+	"unsafe"+)+import "github.com/fluent/fluent-bit-go/output"+import "cloud.google.com/go/pubsub"++var outpubsubclient *OutPubSubClient++//export FLBPluginRegister+func FLBPluginRegister(flbCtx unsafe.Pointer) int {+	return output.FLBPluginRegister(flbCtx, "gcloud_pubsub", "Output to Google Cloud PubSub")+}++//export FLBPluginInit+func FLBPluginInit(flbCtx unsafe.Pointer) int {+	// required+	projectId := output.FLBPluginConfigKey(flbCtx, "Project")+	topicId := output.FLBPluginConfigKey(flbCtx, "Topic")+	keyPath := output.FLBPluginConfigKey(flbCtx, "Key")++	c, err := NewOutPubSubClient(projectId, topicId, keyPath)+	if err != nil {+		return output.FLB_ERROR

errの内容ってどこかで拾えるんです?

tanakarian

comment created time in a month

startedmarcusolsson/goddd

started time in 3 months

more