package
0.0.11
Repository: https://github.com/meshapi/grpc-api-gateway.git
Documentation: pkg.go.dev

# README

Case conversion

This package contains two functions:

  • Camel copied from the github.com/golang/protobuf/protoc-gen-go/generator package.
  • JSONCamelCase copied from the github.com/protocolbuffers/protobuf-go/internal/strs package.

Both these modules are licensed by The Go Authors, as reflected in this package's [LICENSE.md].

# Functions

Camel returns the CamelCased name.
CamelIdentifier returns the CamelCased identifier without affecting the package name/path if any.
JSONCamelCase converts a snake_case identifier to a camelCase identifier, according to the protobuf JSON specification.