package main import "path/filepath" func artifactSourcePath(work, path string) string { rel, _ := filepath.Rel(work, path) return filepath.ToSlash(rel) }