Compare commits

...

2 Commits

Author SHA1 Message Date
jack77213 1b232e418e
fixmod 2021-06-04 23:46:15 +08:00
jack77213 0cf548a2b0
fixip 2021-06-04 23:38:36 +08:00
2 changed files with 7 additions and 6 deletions

12
go.mod
View File

@ -2,15 +2,15 @@ module github.com/yunify/qingcloud-sdk-go
go 1.13
replace github.com/DATA-DOG/godog v0.10.0 => github.com/cucumber/godog v0.7.9
replace github.com/golang/lint v0.0.0-20201208152925-83fdc39ff7b5 => golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5
replace golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5 => github.com/golang/lint v0.0.0-20201208152925-83fdc39ff7b5
require (
github.com/DATA-DOG/godog v0.10.0
github.com/sirupsen/logrus v1.6.0
github.com/stretchr/testify v1.6.1
gopkg.in/yaml.v2 v2.3.0
)
replace github.com/DATA-DOG/godog v0.10.0 => github.com/cucumber/godog v0.7.9
replace github.com/golang/lint v0.0.0-20201208152925-83fdc39ff7b5 => golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5
replace golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5 => github.com/golang/lint v0.0.0-20201208152925-83fdc39ff7b5

View File

@ -81,6 +81,7 @@ type AllocateEIPsInput struct {
EIPName *string `json:"eip_name" name:"eip_name" location:"params"`
// NeedICP's available values: 0, 1
NeedICP *int `json:"need_icp" name:"need_icp" default:"0" location:"params"`
EIPGroup *string `json:"eip_group" name:"eip_group" default:"eipg-00000000" location:"params"`
}
func (v *AllocateEIPsInput) Validate() error {