Go Package os: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 6: | Line 6: | ||
* [[Go Concepts - Standard Library#Packages|Standard Library]] | * [[Go Concepts - Standard Library#Packages|Standard Library]] | ||
=op Package Functions= | |||
* <tt>[https://golang.org/pkg/os/#Open os.Open()]</tt> | |||
=<tt>File</tt>= | =<tt>File</tt>= | ||
Line 11: | Line 15: | ||
* https://golang.org/pkg/os/#File | * https://golang.org/pkg/os/#File | ||
==Methods== | ==<tt>File</tt> Methods== | ||
* <tt>[https://golang.org/pkg/os/#File.Stat File.Stat()]</tt> | * <tt>[https://golang.org/pkg/os/#File.Stat File.Stat()]</tt> | ||
* <tt>[https://golang.org/pkg/os/#File.Read File.Read()]</tt> | * <tt>[https://golang.org/pkg/os/#File.Read File.Read()]</tt> | ||
* <tt>[https://golang.org/pkg/os/#File.Close File.Close()]</tt> | * <tt>[https://golang.org/pkg/os/#File.Close File.Close()]</tt> | ||
=Examples= | =Examples= |
Revision as of 03:41, 31 March 2016
External
Internal
op Package Functions
File
File Methods
Examples
- Reading a file: playground/go/os/read-file/read-file.go