Go Package os: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 7: Line 7:


=Overview=
=Overview=
=Reading and Writing an Entire File in/from Memory=


=TO DEPLETE=
=TO DEPLETE=

Revision as of 18:18, 25 August 2023

External

Internal

Overview

Reading and Writing an Entire File in/from Memory

TO DEPLETE

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