Home
Component
HTML CSS Components
Oxygen Components
WordPress Components
React Component
Programming
C Programming exercises and solutions
Go Programming Language
PHP Programming
Blog
Black Room
Learn Linux
Mock Interview
Build simple, secure,
scalable systems with Go
Version:1.24.0
Website
Developed at Google in 2007
Robert Griesemer, Rob Pike, and Ken Thompson
Country: United States (Developed at Google)
Basic
Advanced
Basics of Go
Install Go language on Linux Use Command in Go
Hello, World! Program in Go
Variables and Constants in Go
Data Types (int, float, string, bool, etc.) in Go
Type Conversion in Go
Operators and Expressions in Go
Input and Output in Go (Detailed Explanation)
Control Structures
If-Else Statement in Go
Go Switch Statement
Loops in Go
For Range Loop in Go
Defer Panic and Recover in Go
Functions
Defining Functions in Go
First-Class Functions in Go
Pointers & Memory Management
Understanding Pointers in Go
Pointer Arithmetic (Not Allowed in Go)
Passing Pointers to Functions in Go
Structs & Methods
Defining Structs in Go
Methods on Structs in Go
Embedding and Composition in Go
Interfaces in Go
Arrays, Slices & Maps
Fixed-Length Arrays in Go
Dynamic Slices in Go
Slice Operations in Go (append, copy, etc.)
Maps (Key-Value Pairs) in Go
Iterating Over Data Structures in Go
Concurrency in Go
Goroutines in Go
Channels in Go
Buffered & Unbuffered Channels in Go
Select Statement in Go
WaitGroups & Mutex in Go
Error Handling
The Error Interface in Go
Custom Error Handling in Go
Using Panic and Recover in Go
File Handling
Reading & Writing Files in Go
Working With JSON & XML in Go
Handling CSV Files in Go
CLI To-Do List (Project)
Create a command-line application to manage a to-do list.
Features:
Add, remove, and list tasks.
Save tasks to a file (JSON or text).
Concepts: File handling, structs, slices, and CLI interaction.
URL Shortener (Project)
Create a URL shortener like Bit.ly.
Features:
Store shortened URLs in a map.
Redirect users to the original URL.
Concepts: Maps, HTTP handlers, and random string generation.
Simple Web Server (Project)
Build a basic HTTP server using the
net/http
package.
Features:
Serve a simple webpage.
Handle GET and POST requests.
Concepts: HTTP handling, goroutines for concurrent requests.
More Practice
Try
Try
Try
Try
or Die
Advanced Topics
Networking & Web Development
HTTP Package & Web Servers
REST API in Go
WebSockets
gRPC (Google Remote Procedure Call)
Package Management & Modules
Creating & Using Packages
Importing External Modules
Dependency Management with
go mod
Testing in Go
Writing Unit Tests
Table-Driven Testing
Benchmarking
Advanced Go Topics
Reflection
Generics (since Go 1.18)
Context Package
Embedding Files with
embed
Working with Signals & OS Processes
Go Tools & Best Practices
Formatting with
gofmt
Linting & Static Analysis
Performance Optimization
Writing Idiomatic Go
Go Frameworks & Libraries
Web Frameworks (Gin, Echo, Fiber)
Database Libraries (GORM, sqlx)
CLI Development (Cobra)
Microservices with Go
Weather CLI App (Project)
Fetch and display weather information from an API.
Features:
Use
net/http
to call an API (e.g., OpenWeatherMap).
Parse JSON response.
Concepts: REST API calls, JSON handling.
Random Password Generator (Project)
Generate strong passwords using random characters.
Features:
Choose length and character types (numbers, symbols, uppercase).
Concepts: Random number generation, string manipulation.
Simple Chat Application (TCP) (Project)
A basic real-time chat using TCP sockets.
Features:
Clients can connect and send messages.
Concepts:
net
package, Goroutines for handling multiple clients.
Image Downloader (Project)
Download images from URLs provided in a file.
Features:
Read URLs from a text file.
Download and save images locally.
Concepts: File handling, HTTP requests, concurrency.
File Encryption Tool (Project)
Encrypt and decrypt files using AES encryption.
Features:
Select a file and encrypt it.
Decrypt using a password.
Concepts: Cryptography, file handling.
Simple CRUD API (Go + SQLite) (Project)
A basic REST API with CRUD operations.
Features:
Create, Read, Update, and Delete user data.
Store data in SQLite.
Concepts: Web server, database handling, JSON responses.
Currency Converter (Project)
Fetch real-time exchange rates and convert currencies.
Features:
Use an API to get conversion rates.
Convert based on user input.
Concepts: REST API, string parsing.
©2025 Linux Bangla | Developed & Maintaind by Linux Bangla.
question
download
external-link
group
laptop
flag-o
code
codepen
user-circle-o