vendor: update all dependencies to latest versions

This commit is contained in:
Nick Craig-Wood
2017-09-30 15:27:27 +01:00
parent 911d121bb9
commit b017fcfe9a
3048 changed files with 537055 additions and 189679 deletions
+7
View File
@@ -23,6 +23,7 @@ import (
"fmt"
"io"
"net/http"
"strings"
"time"
"github.com/yunify/qingstor-sdk-go/config"
@@ -34,6 +35,7 @@ import (
var _ fmt.State
var _ io.Reader
var _ http.Header
var _ strings.Reader
var _ time.Time
var _ config.Config
@@ -48,6 +50,11 @@ var _ config.Config
func (s *Service) {{$subService.ID | camelCase}}(
{{- template "SubServiceInitParams" passThrough $subService.Properties true -}}
) (*{{$subService.ID | camelCase}}, error) {
{{- range $_, $property := $subService.Properties.Properties -}}
{{if eq $property.ID "zone"}}
{{$property.ID}} = strings.ToLower({{$property.ID}})
{{end}}
{{- end -}}
properties := &Properties{
{{range $_, $property := $subService.Properties.Properties -}}
{{$property.ID | upperFirst}}: &{{$property.ID}},