New line feed \n

In fmt.Println function, \n is used. Is it safe to use it in different platforms?

It will always produce exactly a \n on all platforms. If you need something else, like \r\n, you need to add an adapter.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.