You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typeIntOrStringstruct {
TypeType`protobuf:"varint,1,opt,name=type,casttype=Type"`IntValint32`protobuf:"varint,2,opt,name=intVal"`StrValstring`protobuf:"bytes,3,opt,name=strVal"`
}
// Type represents the stored type of IntOrString.typeTypeint64const (
IntType=iota// The IntOrString holds an int.String// The IntOrString holds a string.
)
faker.FakeData will fill Type with a int64 value, but Type is an alias of int64, only 0 and 1 is accepted, what can I do with this issue?
The text was updated successfully, but these errors were encountered:
faker.FakeData will fill
Type
with a int64 value, butType
is an alias ofint64
, only0
and1
is accepted, what can I do with this issue?The text was updated successfully, but these errors were encountered: