Skip to content

Commit 5235821

Browse files
committed
Generator: Add IP to preserved namings
1 parent 7bf2e2a commit 5235821

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

internal/build/utils/naming.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
// Elasticsearch B.V. licenses this file to you under the Apache 2.0 License.
33
// See the LICENSE file in the project root for more information.
44

5+
// Licensed to Elasticsearch B.V. under one or more agreements.
6+
// Elasticsearch B.V. licenses this file to you under the Apache 2.0 License.
7+
// See the LICENSE file in the project root for more information.
8+
59
package utils
610

711
import "strings"
@@ -46,6 +50,7 @@ func NameToGo(s string, api ...string) string {
4650
}
4751

4852
acronyms := map[string]string{
53+
"ip": "IP",
4954
"id": "ID",
5055
"ttl": "TTL",
5156

0 commit comments

Comments
 (0)