faker
faker copied to clipboard
Compatible with interface{}
If meet some fields which not supported such as interface{}, Can we just ignore the err. For example
struct Test{
A int
B string
C interface{}
}
I only want A, B filed, just give me C with a nil value
I don't think it's will be good. If you want to ignore the interface, maybe you can add the skip tag.
struct Test{
A int
B string
C interface{} `faker:"-"`
}
the struct is sometimes generated by thrift or other tools such as protobuf, so it's not so convenient to add tags