<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _symlink_local_src(self, gopath, go_local_src, required_links):
 """Creates symlinks from the given gopath to the source files of the given local package. Also duplicates directory structure leading to source files of package within gopath, in order to provide isolation to the package. Adds the symlinks to the source files to required_links. """

    source_list = [os.path.join(get_buildroot(), src)
                   for src in go_local_src.sources_relative_to_buildroot()]
    rel_list = go_local_src.sources_relative_to_target_base()
    source_iter = zip(source_list, rel_list)
    return self._symlink_lib(gopath, go_local_src, source_iter, required_links)