diff --git a/endpoints/endpoints.go b/endpoints/endpoints.go index 68a29284..fd2d7627 100644 --- a/endpoints/endpoints.go +++ b/endpoints/endpoints.go @@ -4,5 +4,6 @@ package endpoints const ( - AwsGlobalRegionID = "aws-global" // AWS Standard global region. + // AWS Standard global region. + AwsGlobalRegionID = "aws-global" ) diff --git a/internal/generate/endpoints/output.go.gtpl b/internal/generate/endpoints/output.go.gtpl index d2f93809..387d4949 100644 --- a/internal/generate/endpoints/output.go.gtpl +++ b/internal/generate/endpoints/output.go.gtpl @@ -12,7 +12,8 @@ import ( // All known partition IDs. const ( {{- range .Partitions }} - {{ .ID | IDToTitle}}PartitionID = "{{ .ID }}" // {{ .Name }} + // {{ .Name }} + {{ .ID | IDToTitle}}PartitionID = "{{ .ID }}" {{- end }} ) @@ -21,7 +22,8 @@ const ( {{- range .Partitions }} // {{ .Name }} partition's Regions. {{- range .Regions }} - {{ .ID | IDToTitle}}RegionID = "{{ .ID }}" // {{ .Description }} + // {{ .Description }} + {{ .ID | IDToTitle}}RegionID = "{{ .ID }}" {{- end }} {{- end }} )