Skip to content

Instantly share code, notes, and snippets.

@hongalex
hongalex / main.go
Created October 26, 2021 23:48
using pubsub otel
package main
import (
"context"
"fmt"
"log"
"time"
"cloud.google.com/go/pubsub"
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,

Keybase proof

I hereby claim:

  • I am hongalex on github.
  • I am alxh (https://keybase.io/alxh) on keybase.
  • I have a public key ASCEuuAkD0RGKABspfH7bTP2ojh7iYI2Eg9ewS8N1enfZAo

To claim this, I am signing this object:

# COLOR LS
export PS1='\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\]:\[\e[0;34m\]\w\[\e[0m\]\$ '
export CLICOLOR=1
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
0xd19A52a7282F5795918C53d1B21B2D6e404dE1Bc