Welcome To Go 101 , we will take some hand-on session to understand basic fundamentats of go programming language . no matter your new to programming language we are covering 101 track which cover all your concept to strat track 102 . so lets start :
- Lets Start With First Hello World
- Numeral Systems - Decimal
- Numeral Systems - Binary
- Numeral Systems - Hexadecimal
- Numeral Systems - loop
- Numeral Systems - UTF-8
- Short Variable Declarations
- Variable With Zero Value
- Deep Drive On Variables
- Deep Drive On Constants
- String Type
- Bool Type
- Loop - Init, Condition, Post
- Loop - Nested Loops
- Loop - For Statement
- Loop - Break & Continue
- Generate Random Number With Math/Crypto/Rand
- Loop - Printing ASCII
- Conditional - If Statement
- Conditional - If, Else If, Else
- Loop, Conditional, Modulus
- Conditional - Switch Statement
- Conditional Switch Statement Documentation
- Conditional Logic Operators
- Conversion, Not Casting
- Creating Your Own Type
- Defers
- Stacking Defers
- Pointer
- Struct
- Struct Fields
- Pointers To Structs
- Prefix Suffix
- Struct Literal
- Conversion Between Array And Slice
- Methods
- Variadic Functions
- Init Function
- Interface
- Command Line Arguments and File I/O
Every program, once it is executed, exists in the environment of the operating system. The program receives input and provides output to this environment. The operating system also needs to communicate with the program to let it know what's happening outside. And finally, the program needs to respond with appropriate actions.
This Go 102 track will walk you through the basics of the discovery of the system environment, the program parameterization via program arguments, and the concept of the operating system signals. You will also learn how to execute and communicate with the child process.
- retrieving go version
- Accessing program arguments
- Creating a program interface with the flag package
- Retrieving the current working directory
- Getting the current process PID
- Handling operating system signals
- Calling an external process
- Retrieving child process information
- Reading/writing from the child process
- Shutting down the application gracefully
- File configuration with functional options
Operations on strings and string-based data are common tasks in a developer's life. This GO 103 track covers how to handle these using the Go standard library. It is no surprise that with the standard library it is possible to do a great deal.
- Finding the substring in a string
- Breaking the string into words
- Joining the string slice with a separator
- Concatenating a string with writer
- Aligning text with tabwriter
- Replacing part of the string
- Finding the substring in text by the regex pattern
- Controlling case
- Parsing comma-separated data
- Managing whitespace in a string
- Indenting a text document
The numbers are generally the inevitable part of each application—printing the formatted numbers, converting base representations, and so on. This Go104 track presents a lot of operations that you can commonly deal with.
- Converting strings to numbers
- Comparing floating-point numbers
- Rounding floating-point numbers
- Floating-point arithmetics
- Formatting numbers
- Converting between binary, octal, decimal, and hexadecimal
- Formatting with the correct plurals
- Generating random numbers
- Operating complex numbers
- Converting between degrees and radians
- Taking logarithms
- Generating checksums
This Go105 track presents a lot of operations that you can commonly deal with In and Out standard library
- Reading standard input
- Writing standard output and error
- Opening a file by name
- Reading the file into a string
- Reading/writing a different charset
- Seeking a position within a file
- Reading and writing binary data
- Writing to multiple writers at once
- Piping between writer and reader
- Serializing objects to binary format
- Reading and writing ZIP files
- Parsing a large XML file effectively
- Extracting data from an incomplete JSON array
This Go 106 track we will play around filesystem