code: func SourceByName(name string) (Source, error) {
  	for s, n := range sourceNames {
  		if n == name {
  			return s, nil
  		}
  	}
  	return -1, fmt.Errorf("unknown source %q", name)
  }
docs: // SourceByName returns the source that has the given name.