Go Package os: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 8: Line 8:
* [[Go Concepts - Standard Library#Packages|Standard Library]]
* [[Go Concepts - Standard Library#Packages|Standard Library]]
* [[Go Recipes|Recipes]]
* [[Go Recipes|Recipes]]
* [[Go Signals|Signals in Go]]


=Functions=
=Functions=

Revision as of 17:15, 21 April 2016

External

Internal

Functions

os.Open()

Works with files and directories.

os.Create()

os.File

os.File Methods

FileInfo

FileInfo Methods

  • Size()

os.Args

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:

Command Line Parsing