code: async function getPkgReleases({ lookupName }) {
    logger.trace(`go.getPkgReleases(${lookupName})`);
    const source = await getDatasource(lookupName);
    if (source && source.datasource === 'github') {
      const res = await github.getPkgReleases(source);
      if (res && res.releases) {
        res.releases = res.releases.filter(
          release => release.version && release.version.startsWith('v')
        );
      }
      return res;
    }
    return null;
  }
docs: /*
  go.getPkgReleases
  
  This datasource resolves a go module URL into its source repository
  and then fetch it if it is on GitHub.
  
  This function will:
  - Determine the source URL for the module
  - Call the respective getPkgReleases in github to retrieve the tags