How to know layer name from anyone of files map.dbf map.prj map.shp map.shx using go
I am working on the project where we are giving the user to upload GIS layers and it should not be duplicate. what I got to know that user can upload same file multiple time just rename these file (map.dbf map.prj map.shp map.shx).