Skip to content

Instantly share code, notes, and snippets.

View kladov's full-sized avatar

Boris Kladov kladov

View GitHub Profile
@regeda
regeda / underscore.go
Last active December 12, 2018 10:23
Convert CamelCase to underscore in golang with UTF-8 support.
package main
import (
"testing"
"unicode"
"unicode/utf8"
"github.com/stretchr/testify/assert"
)