Same struct name is not allowed for the target structs to encode but it is for the include paths since there might be other structs not related to the encoding.
Now, all the structs both in the target file and the include paths are stored in an array and include both the package name and the name. Thus, storing multiple structs with the same name will not cause an issue.
Closes #49.
Same struct name is not allowed for the target structs to encode but it is for the include paths since there might be other structs not related to the encoding.
Now, all the structs both in the target file and the include paths are stored in an array and include both the package name and the name. Thus, storing multiple structs with the same name will not cause an issue.