Go Package os: Difference between revisions
Jump to navigation
Jump to search
Line 40: | Line 40: | ||
=Command Line Parsing= | =Command Line Parsing= | ||
<tt>os.Args</tt> is a string slice that holds the command-line arguments, starting with the program name. For more details on how to use see: | |||
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;"> | <blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;"> | ||
:[[Go Command Line Parsing]] | :[[Go Command Line Parsing|Command Line Parsing]] | ||
</blockquote> | </blockquote> |
Revision as of 02:14, 4 April 2016
External
Internal
os Package Functions
os.Open()
Works with files and directories.
os.Create()
os.File
os.File Methods
FileInfo
FileInfo Methods
- Size()
Command Line Parsing
os.Args is a string slice that holds the command-line arguments, starting with the program name. For more details on how to use see: