code: func getSemVers(refs []string) []*semver.Version {
  	var sv []*semver.Version
  	for _, r := range refs {
  		if v, err := semver.NewVersion(r); err == nil {
  			sv = append(sv, v)
  		}
  	}
  	return sv
  }
docs: // Filter a list of versions to only included semantic versions. The response
  // is a mapping of the original version to the semantic version.