Skip to content

Instantly share code, notes, and snippets.

View cptaffe's full-sized avatar

Connor Taffe cptaffe

View GitHub Profile
@cptaffe
cptaffe / keybase.md
Created January 14, 2020 16:07
Keybase

Keybase proof

I hereby claim:

  • I am cptaffe on github.
  • I am cptaffe (https://keybase.io/cptaffe) on keybase.
  • I have a public key ASBK7uQBCvMG_uAUazCEMrC1tUJgUMhw75ZhD1Zb4AUoFgo

To claim this, I am signing this object:

@cptaffe
cptaffe / fieldmask.go
Last active July 18, 2019 22:49
Normalize FieldMask paths as snake_case
package fieldmask
import (
"strings"
"unicode"
"google.golang.org/genproto/protobuf/field_mask"
)
func toSnakeCase(builder *strings.Builder, s string) {