Go Package os: Difference between revisions
Jump to navigation
Jump to search
Line 33: | Line 33: | ||
<blockquote style="background-color: AliceBlue; border: solid thin LightSteelBlue;"> | <blockquote style="background-color: AliceBlue; border: solid thin LightSteelBlue;"> | ||
:Reading a file: [https://github.com/NovaOrdis/playground/blob/master/go/os/read-file/read-file.go playground/go/os/read-file/read-file.go]<br> | :Reading a file: [https://github.com/NovaOrdis/playground/blob/master/go/os/read-file/read-file.go playground/go/os/read-file/read-file.go]<br> | ||
:Reading a file (more compact code): [https://github.com/NovaOrdis/playground/blob/master/go/os/read-file/read-file-2.go playground/go/os/read-file/read-file-2.go]<br> | |||
</blockquote> | </blockquote> |
Revision as of 03:59, 31 March 2016
External
Internal
os Package Functions
os.File
os.File Methods
FileInfo
FileInfo Methods
- Size()
Examples
- Reading a file: playground/go/os/read-file/read-file.go
- Reading a file (more compact code): playground/go/os/read-file/read-file-2.go