$ proteus -p github.com/alban/mytest -f . ; echo $?
generated.proto: warning: Import google/protobuf/duration.proto but not used.
ERROR: field MyType.Sleeping is a native type and in proto3 syntax with nullable=false there exists conflicting implementations when encoding zero values--gofast_out: protoc-gen-gofast: Plugin failed with status code 1.
error generating Go files from "github.com/alban/mytest/generated.proto": exit status 1
1
I don't understand what that means. time.Duration is basically a int64, so what's the difference between the two code snippets?
This works fine:
But this does not work:
I don't understand what that means.
time.Duration
is basically a int64, so what's the difference between the two code snippets?/cc @asymmetric