commit | 57a7fcb4e203b2168d74693e82f3bba9cb8f407e | [log] [tgz] |
---|---|---|
author | Arjun E K <arjun.k02@infosys.com> | Thu Jan 30 06:44:45 2020 +0000 |
committer | Matteo Scandolo <matteo.scandolo@gmail.com> | Fri Jan 31 17:37:19 2020 -0800 |
tree | cca3848a23d44bab52c8370fbddb3efc058f56f8 | |
parent | d9a4c7d43b4ec223c6d06d516f20cf1388837307 [diff] [blame] |
[SEBA-660] : Adding Igmp support in BbSim Change-Id: I9f5c7d8ad39ac82850b04e2c997996d6c47b32d2
diff --git a/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger/helpers.go b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger/helpers.go new file mode 100644 index 0000000..3615596 --- /dev/null +++ b/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/genswagger/helpers.go
@@ -0,0 +1,9 @@ +//+build go1.12 + +package genswagger + +import "strings" + +func fieldName(k string) string { + return strings.ReplaceAll(strings.Title(k), "-", "_") +}