Hi, I'm using an M1 mac to generate mocks for a kafka producer which depends on the confluent-kafka-go package. When attempting to generate, moq exits with the below error.
go generate -tags dynamic ./...
couldn't load source package: /workspace/mercury/internal/kafka/producers/invalidation_producer.go:94:66: cannot use kafka.PartitionAny (constant unknown with invalid type) as int32 value in struct literal
On non-m1 macs, I can successfully generate the mocks without the -tags dynamic build tag.
Hi, I'm using an M1 mac to generate mocks for a kafka producer which depends on the confluent-kafka-go package. When attempting to generate, moq exits with the below error.
On non-m1 macs, I can successfully generate the mocks without the
-tags dynamic
build tag.