Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
path: Join documentation is misleading regarding Cleaned #29875
As of Go 1.11.4, the documentation of
There is actually a test case for path.Join which joins two empty strings and checks the output is an empty string. So not sure if it is a bug.
That is because path.Clean is called only for non-empty strings. Which is what the documentation tries to say. But I agree this part