os.Rename in goLang?Function signature:
func Rename(oldpath, newpath string) error
What
Rename does?Rename renames (moves) oldpath to newpath. If newpath already exists and is not a directory, Rename replaces it. OS-specific restrictions may apply when oldpath and newpath are in different directories. If there is an error, it will be of type *LinkError.#golang #go #os #rename #os_rename
