code: func GetRelativePath(path, base string) (final string, err error) {
  	if filepath.IsAbs(path) && base == "" {
  		return "", errors.New("source: missing base directory")
  	}
  	name := filepath.Clean(path)
  	base = filepath.Clean(base)
  
  	name, err = filepath.Rel(base, name)
  	if err != nil {
  		return "", err
  	}
  
  	if strings.HasSuffix(filepath.FromSlash(path), FilePathSeparator) && !strings.HasSuffix(name, FilePathSeparator) {
  		name += FilePathSeparator
  	}
  	return name, nil
  }
docs: // GetRelativePath returns the relative path of a given path.