Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/isensee-bastian/item-store

Tutorial code for my video Working with Files in Golang - Simple Command Line Tool
https://github.com/isensee-bastian/item-store

basic-programming beginner-tutorial-series constants files golang learn-to-code switch-case tutorial youtube

Last synced: about 1 month ago
JSON representation

Tutorial code for my video Working with Files in Golang - Simple Command Line Tool

Awesome Lists containing this project

README

        

# File IO

* Command line arguments
* Constants
* Switch case
* Exiting the program (return code, error handling)
* Opening files (for appending, flags, file modes, resource cleanup with defer)
* Reading from files
* Writing to files (appending)
* Using io and bufio packages for higher level reading / writing
* Truncate and seek for rewriting a file