[path.IsAbs()](http://golang.org/pkg/path/#IsAbs) checks for a starting slash. Not sure if that helps here though.