func pathsEqual(got, want []string) bool {
	sort.Strings(got)
	sort.Strings(want)

	if len(got) != len(want) {
		return false
	}

	for i := range got {
		if got[i] != want[i] {
			return false
		}
	}

	return true
}
// pathsEqual returns true if the two string slices contain the same entries.
pathsEqual returns true if the two string slices contain the same entries.
// pathsEqual returns true if the two string slices contain the same entries .
func pathsEqual(got, want []string) bool {
	sort.Strings(got)
	sort.Strings(want)
	if len(got) != len(want) {
		return false
	}
	for i := range got {
		if got[i] != want[i] {
			return false
		}
	}
	return true
}
func pathsEqual ( got , want [ ] string ) bool { sort . Strings ( got ) sort . Strings ( want ) if len ( got ) != len ( want ) { return false } for i := range got { if got [ i ] != want [ i ] { return false } } return true }
pathsEqual returns true if the two string slices contain the same entries.
pathsEqual returns true if the two string slices contain the same entries .