Sling Academy
Home/Golang/Go Utilities and Tools

Go Utilities and Tools

This series of tutorials focuses on using utilities and tools provided by Go (Golang).

1 Using `log` for Simple Logging in Go Applications

2 Efficient File Operations with `os` and `io/ioutil` in Go

3 Parsing and Generating JSON in Go with the `encoding/json` Package

4 Managing Configuration Files with `viper` in Go

5 Building CLI Tools with the `cobra` Package in Go

6 How to Work with YAML in Go Using `go-yaml`

7 Parsing Command-Line Flags with the `flag` Package in Go

8 Working with Dates and Times Using `time` in Go

9 Using `net/http` for Quick and Easy HTTP Servers in Go

10 Creating Temporary Files and Directories with `os.TempDir` in Go

11 Testing Made Simple with Go's Built-in `testing` Package

12 Working with CSV Files Using `encoding/csv` in Go

13 Sorting and Searching with Go's `sort` Package

14 Leveraging `reflect` for Runtime Type Inspection in Go

15 How to Use `template` for Dynamic HTML in Go

16 Managing Dependencies with `go mod` in Go Projects

17 Concurrent Utilities: Using `sync` and `sync/atomic` in Go

18 Building Efficient Data Structures with Go's Slices and Maps

19 Reading and Writing INI Files with `go-ini` in Go

20 Using Go's `regexp` Package for Regular Expression Matching

21 Profiling Go Applications with `pprof`

22 Dynamic Code Execution with `plugin` Package in Go

23 Creating HTTP Middleware in Go for Reusable Utilities

24 Understanding `runtime` Package for Low-Level Go Utilities

25 Fetching and Parsing HTML Pages with `goquery`

26 Developing and Running Cron Jobs with `robfig/cron` in Go

27 Efficient String Operations with `strings` Package in Go

28 Working with Excel Files Using `excelize` in Go

29 Managing Process Execution with `os/exec` in Go

30 Handling Signals and Graceful Shutdowns with `os/signal`

31 Exploring Go's `context` Package for Better Concurrency Control

32 Data Validation and Sanitization with `validator` in Go

33 How to Create and Handle ZIP Files in Go with `archive/zip`

34 Generating Random Numbers and Strings Using `math/rand`

35 Efficient Error Handling with `errors` and `fmt.Errorf` in Go

36 Using `os.File` for Direct File System Access in Go

37 Creating Secure Tokens with `crypto/rand` in Go

38 Developing Real-Time Applications with WebSockets in Go