Getting the current working directory

Report a typo

Which function from the os package returns a rooted path name, corresponding to the current directory that our main.go file is within?

Take notice that it is not necessary to write the os prefix before the function name!

Enter a short text
___

Create a free account to access the full topic