aboutsummaryrefslogtreecommitdiff
path: root/src/os/example_test.go
AgeCommit message (Expand)Author
2021-06-30os: change example to avoid deprecated functionEli Bendersky
2020-12-02os: add ReadFile, WriteFile, CreateTemp (was TempFile), MkdirTemp (was TempDi...Russ Cox
2020-10-20all: update references to symbols moved from os to io/fsRuss Cox
2019-04-11os: don't leak file in ExampleOpenFile_append failure pathjames
2018-12-18os: show how to print permission bits in octalKevin Burke
2018-10-03os: add UserHomeDirBrad Fitzpatrick
2018-08-24os: use Println instead of Printf in exampleSeebs
2018-05-23os: Add example for Expand function.azat
2017-07-15os: use Fstat instead of Stat in FileMode exampleTaro Aoki
2017-03-01os: add OpenFile example for appending dataKevin Burke
2016-10-12os: add examples of environment functionsJean-Nicolas Moal
2016-10-12os: add example for IsNotExistSina Siadat
2016-09-14os: add more examplesEmmanuel Odeke
2016-08-29os: add example for OpenFileJaana Burcu Dogan