Open andersfylling opened 2 years ago
It's currently troublesome to specify Copier and DeepCopier for every substructure. Write a dependency tree to identify which structs needs the different interfaces instead of requiring var _ Copier = (*Message)(nil)
var _ Copier = (*Message)(nil)
Maybe all exported types should automatically implement this.
Consider using Copygen for copier functionality without the use of reflection.
It's currently troublesome to specify Copier and DeepCopier for every substructure. Write a dependency tree to identify which structs needs the different interfaces instead of requiring
var _ Copier = (*Message)(nil)