The archiveFormat type is not exported but used in an exported API GetArchiveLink.
I assume that the intention was to allow only the defined const, but this is a bad practice - for example, if I want to wrap the function to GetArchiveLink and want also to accept the archiveformat argument.
Can this type be exported?
The archiveFormat type is not exported but used in an exported API GetArchiveLink.
I assume that the intention was to allow only the defined const, but this is a bad practice - for example, if I want to wrap the function to GetArchiveLink and want also to accept the archiveformat argument.
Can this type be exported?