mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-25 00:21:28 +02:00
chore: sync content to repo (#9126)
Co-authored-by: kamranahmedse <4921183+kamranahmedse@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
7fccbe5066
commit
2975d79da7
@@ -5,6 +5,6 @@ Beego is a full-stack web framework providing MVC architecture, ORM, session man
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Arrays](https://go.dev/tour/moretypes/6)
|
||||
- [@official@beego package](https://pkg.go.dev/github.com/beego/beego)
|
||||
- [@opensource@beego/beego](https://github.com/beego/beego)
|
||||
- [@article@Exploring Golang and Beego: A Beginner's Guide with Examples](https://medium.com/@vijeshomen/exploring-golang-and-beego-a-beginners-guide-with-examples-part-1-79619f0db1ac)
|
||||
- [@official@beego package](https://pkg.go.dev/github.com/beego/beego)
|
||||
- [@article@Exploring Golang and Beego: A Beginner's Guide with Examples](https://medium.com/@vijeshomen/exploring-golang-and-beego-a-beginners-guide-with-examples-part-1-79619f0db1ac)
|
@@ -5,4 +5,4 @@ The `bool` type represents `true` or `false` values with default zero value of `
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Booleans in Golang](https://golangdocs.com/booleans-in-golang)
|
||||
- [@article@Understanding Boolean Logic in Go](https://www.digitalocean.com/community/tutorials/understanding-boolean-logic-in-go)
|
||||
- [@article@Understanding Boolean Logic in Go](https://www.digitalocean.com/community/tutorials/understanding-boolean-logic-in-go)
|
@@ -5,4 +5,4 @@ Immediately exits innermost loop or switch statement. In nested loops, only exit
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@Using Break and Continue Statements When Working with Loop](https://www.digitalocean.com/community/tutorials/using-break-and-continue-statements-when-working-with-loops-in-go)
|
||||
- [@article@Demystifying the Break and Continue Statements in Golang](https://medium.com/@kiruu1238/break-continue-bc35e9f3802d)
|
||||
- [@article@Demystifying the Break and Continue Statements in Golang](https://medium.com/@kiruu1238/break-continue-bc35e9f3802d)
|
@@ -5,4 +5,4 @@ Functions capturing variables from surrounding scope, accessible even after oute
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Closures in Golang](https://go.dev/tour/moretypes/25)
|
||||
- [@article@Understanding Closures in Go](https://code101.medium.com/understanding-closures-in-go-encapsulating-state-and-behaviour-558ac3617671)
|
||||
- [@article@Understanding Closures in Go](https://code101.medium.com/understanding-closures-in-go-encapsulating-state-and-behaviour-558ac3617671)
|
@@ -5,4 +5,4 @@ Go provides built-in documentation tools including `go doc` for terminal documen
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Go Doc](https://go.dev/godoc)
|
||||
- [@article@A Guide to Effective Go Documentation](https://nirdoshgautam.medium.com/a-guide-to-effective-go-documentation-952f346d073f)
|
||||
- [@article@A Guide to Effective Go Documentation](https://nirdoshgautam.medium.com/a-guide-to-effective-go-documentation-952f346d073f)
|
@@ -5,4 +5,4 @@ Context package common uses: HTTP timeouts, database deadlines, goroutine cancel
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Use Cases](https://go.dev/solutions/use-cases)
|
||||
- [@article@The Versatility of Go: Ideal Use Cases for the Golang Programming](https://dev.to/adityabhuyan/the-versatility-of-go-ideal-use-cases-for-the-golang-programming-language-7co)
|
||||
- [@article@The Versatility of Go: Ideal Use Cases for the Golang Programming](https://dev.to/adityabhuyan/the-versatility-of-go-ideal-use-cases-for-the-golang-programming-language-7co)
|
@@ -5,4 +5,4 @@ Constants declared with `const` represent unchanging compile-time values. `iota`
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Iota](https://go.dev/wiki/Iota)
|
||||
- [@article@Constants](https://webreference.com/go/basics/constants/)
|
||||
- [@article@Constants](https://webreference.com/go/basics/constants/)
|
@@ -5,4 +5,4 @@ Carries deadlines, cancellation signals, and request-scoped values across API bo
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Go Concurrency Patterns: Context](https://go.dev/blog/context)
|
||||
- [@article@The Complete Guide to Context in Golang](https://medium.com/@jamal.kaksouri/the-complete-guide-to-context-in-golang-efficient-concurrency-management-43d722f6eaea)
|
||||
- [@article@The Complete Guide to Context in Golang](https://medium.com/@jamal.kaksouri/the-complete-guide-to-context-in-golang-efficient-concurrency-management-43d722f6eaea)
|
@@ -5,4 +5,4 @@ Skips rest of current iteration and jumps to next loop iteration. Only affects i
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@Using Break and Continue Statements When Working with Loop](https://www.digitalocean.com/community/tutorials/using-break-and-continue-statements-when-working-with-loops-in-go)
|
||||
- [@article@Demystifying the Break and Continue Statements in Golang](https://medium.com/@kiruu1238/break-continue-bc35e9f3802d)
|
||||
- [@article@Demystifying the Break and Continue Statements in Golang](https://medium.com/@kiruu1238/break-continue-bc35e9f3802d)
|
@@ -5,4 +5,4 @@ Test coverage measures code execution during testing using `go test -cover` and
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Coverage Profiling](https://go.dev/doc/build-cover)
|
||||
- [@article@Understanding Go Coverage: A Guide to Test Coverage in Go](https://medium.com/@keployio/understanding-go-coverage-a-guide-to-test-coverage-in-go-0c6e5ac8ba81)
|
||||
- [@article@Understanding Go Coverage: A Guide to Test Coverage in Go](https://medium.com/@keployio/understanding-go-coverage-a-guide-to-test-coverage-in-go-0c6e5ac8ba81)
|
@@ -5,4 +5,4 @@ Build executables for different OS and architectures using `GOOS` and `GOARCH` e
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@GccgoCrossCompilation](https://go.dev/wiki/GccgoCrossCompilation)
|
||||
- [@article@Cross-compiling made easy with Golang](https://medium.com/@keployio/understanding-go-coverage-a-guide-to-test-coverage-in-go-0c6e5ac8ba81)
|
||||
- [@article@Cross-compiling made easy with Golang](https://medium.com/@keployio/understanding-go-coverage-a-guide-to-test-coverage-in-go-0c6e5ac8ba81)
|
@@ -7,4 +7,4 @@ Visit the following resources to learn more:
|
||||
- [@official@Canceling in-progress Operations](https://go.dev/doc/database/cancel-operations)
|
||||
- [@article@Understanding Golang Context: Cancellation, Timeouts](https://webdevstation.com/posts/understanding-golang-context/)
|
||||
- [@article@Understanding Context in Golang](https://medium.com/better-programming/understanding-context-in-golang-7f574d9d94e0)
|
||||
- [@article@How to use the context.Done\(\) method in Go](https://dev.to/mcaci/how-to-use-the-context-done-method-in-go-22me)
|
||||
- [@article@How to use the context.Done() method in Go](https://dev.to/mcaci/how-to-use-the-context-done-method-in-go-22me)
|
@@ -6,4 +6,4 @@ Visit the following resources to learn more:
|
||||
|
||||
- [@official@High Performance, Extensible, Minimalist Go Web framework](https://echo.labstack.com/)
|
||||
- [@official@Echo Documentation](https://echo.labstack.com/docs)
|
||||
- [@article@Best Practices for Structuring Scalable Golang APIs with Echo](https://medium.com/@OTS415/structuring-golang-echo-apis-8d657de5dc7c)
|
||||
- [@article@Best Practices for Structuring Scalable Golang APIs with Echo](https://medium.com/@OTS415/structuring-golang-echo-apis-8d657de5dc7c)
|
@@ -4,5 +4,5 @@ This package provides robust and efficient functionalities for marshaling (encod
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@Empty Interface](https://go.dev/tour/methods/14)
|
||||
- [@official@Empty Interface](https://go.dev/tour/methods/14)
|
||||
- [@article@Understanding the empty interface in Go](https://dev.to/flrnd/understanding-the-empty-interface-in-go-4652)
|
@@ -7,4 +7,4 @@ Visit the following resources to learn more:
|
||||
- [@official@Error Handling and Go](https://go.dev/blog/error-handling-and-go)
|
||||
- [@article@The Error Interface](https://golang.ntxm.org/docs/error-handling-in-go/the-error-interface/)
|
||||
- [@article@Mastering Error Handling in Go: A Comprehensive Guide](https://medium.com/hprog99/mastering-error-handling-in-go-a-comprehensive-guide-fac34079833f)
|
||||
- [@article@Creating Custom Errors in Go](https://www.digitalocean.com/community/tutorials/creating-custom-errors-in-go)
|
||||
- [@article@Creating Custom Errors in Go](https://www.digitalocean.com/community/tutorials/creating-custom-errors-in-go)
|
@@ -5,4 +5,4 @@ Compile-time optimization determining whether variables are allocated on stack (
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@Escape Analysis in Go: Stack vs Heap Allocation Explained](https://dev.to/abstractmusa/escape-analysis-in-go-stack-vs-heap-allocation-explained-506a)
|
||||
- [@article@Escape Analysis in Golang](https://medium.com/@trinad536/escape-analysis-in-golang-fc81b78f3550)
|
||||
- [@article@Escape Analysis in Golang](https://medium.com/@trinad536/escape-analysis-in-golang-fc81b78f3550)
|
@@ -5,4 +5,4 @@ Concurrency pattern merging multiple input channels into single output channel.
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@Fan Out Fan In Concurrency Pattern Explained](https://www.golinuxcloud.com/go-fan-out-fan-in/)
|
||||
- [@article@Golang Concurrency Patterns: Fan in, Fan out](https://medium.com/geekculture/golang-concurrency-patterns-fan-in-fan-out-1ee43c6830c4)
|
||||
- [@article@Golang Concurrency Patterns: Fan in, Fan out](https://medium.com/geekculture/golang-concurrency-patterns-fan-in-fan-out-1ee43c6830c4)
|
@@ -5,4 +5,4 @@ Concurrency pattern distributing work from single source to multiple workers. Ty
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@Fan Out Fan In Concurrency Pattern Explained](https://www.golinuxcloud.com/go-fan-out-fan-in/)
|
||||
- [@article@Golang Concurrency Patterns: Fan in, Fan out](https://medium.com/geekculture/golang-concurrency-patterns-fan-in-fan-out-1ee43c6830c4)
|
||||
- [@article@Golang Concurrency Patterns: Fan in, Fan out](https://medium.com/geekculture/golang-concurrency-patterns-fan-in-fan-out-1ee43c6830c4)
|
@@ -7,4 +7,4 @@ Visit the following resources to learn more:
|
||||
- [@official@fmt](https://pkg.go.dev/fmt)
|
||||
- [@official@Error Handling and Go](https://go.dev/blog/error-handling-and-go)
|
||||
- [@article@Mastering Error Handling in Golang: The Power of fmt.Errorf ()](https://thelinuxcode.com/mastering-error-handling-in-golang-the-power-of-fmt-errorf/)
|
||||
- [@article@Understanding the fmt.Errorf Function in Golang](https://www.zetcode.com/golang/fmt-errorf/)
|
||||
- [@article@Understanding the fmt.Errorf Function in Golang](https://www.zetcode.com/golang/fmt-errorf/)
|
@@ -5,4 +5,4 @@ Go's only looping construct, incredibly flexible for all iteration needs. Classi
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@for](https://go.dev/tour/flowcontrol/1)
|
||||
- [@article@Learn for loops in Go with Examples](https://golangbot.com/loops/)
|
||||
- [@article@Learn for loops in Go with Examples](https://golangbot.com/loops/)
|
@@ -6,4 +6,4 @@ Visit the following resources to learn more:
|
||||
|
||||
- [@official@Range](https://go.dev/wiki/Range)
|
||||
- [@official@for](https://go.dev/tour/flowcontrol/1)
|
||||
- [@article@Select & For Range Channel in Go](https://blog.devtrovert.com/p/select-and-for-range-channel-i-bet)
|
||||
- [@article@Select & For Range Channel in Go](https://blog.devtrovert.com/p/select-and-for-range-channel-i-bet)
|
@@ -5,4 +5,4 @@ Reusable code blocks declared with `func` keyword. Support parameters, return va
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Functions](https://go.dev/tour/basics/4)
|
||||
- [@article@Functions in Golang: Complete Guide with Examples](https://medium.com/backend-forge/functions-in-golang-complete-guide-with-examples-2025-e07db0f98fd3)
|
||||
- [@article@Functions in Golang: Complete Guide with Examples](https://medium.com/backend-forge/functions-in-golang-complete-guide-with-examples-2025-e07db0f98fd3)
|
@@ -5,4 +5,4 @@ Write functions working with multiple types using type parameters in square brac
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Generic Functions](https://go.dev/doc/tutorial/generics)
|
||||
- [@article@Generic Functions Comprehensive Guide](https://www.ardanlabs.com/blog/2018/12/garbage-collection-in-go-part1-semantics.html)
|
||||
- [@article@Generic Functions Comprehensive Guide](https://www.ardanlabs.com/blog/2018/12/garbage-collection-in-go-part1-semantics.html)
|
@@ -5,4 +5,4 @@ Introduced in Go 1.18, allow functions and types to work with different data typ
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Generic Functions](https://go.dev/doc/tutorial/generics)
|
||||
- [@article@Understanding Generics](https://blog.logrocket.com/understanding-generics-go-1-18/)
|
||||
- [@article@Understanding Generics](https://blog.logrocket.com/understanding-generics-go-1-18/)
|
@@ -7,4 +7,4 @@ Visit the following resources to learn more:
|
||||
- [@official@Command Documentation](https://go.dev/doc/cmd)
|
||||
- [@official@Go Package](https://pkg.go.dev/cmd/go)
|
||||
- [@official@Go Test](https://go.dev/doc/tutorial/add-a-test)
|
||||
- [@official@Compile and Install Application](https://go.dev/doc/tutorial/compile-install)
|
||||
- [@official@Compile and Install Application](https://go.dev/doc/tutorial/compile-install)
|
@@ -5,5 +5,5 @@ The `go generate` command executes commands specified in `//go:generate` directi
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@go generate](https://go.dev/blog/generate)
|
||||
- [@article@How to Use \/\/go\:generate](https://blog.carlana.net/post/2016-11-27-how-to-use-go-generate/)
|
||||
- [@article@How to Use //go:generate](https://blog.carlana.net/post/2016-11-27-how-to-use-go-generate/)
|
||||
- [@article@Metaprogramming with Go](https://dev.to/hlubek/metaprogramming-with-go-or-how-to-build-code-generators-that-parse-go-code-2k3j)
|
@@ -6,4 +6,4 @@ Visit the following resources to learn more:
|
||||
|
||||
- [@official@go mod](https://go.dev/doc/tutorial/create-module)
|
||||
- [@official@go mod reference](https://go.dev/ref/mod)
|
||||
- [@official@Initiating Go Modules with Go Mod Init Explained Simply](https://go.dev/blog/using-go-modules)
|
||||
- [@official@Initiating Go Modules with Go Mod Init Explained Simply](https://go.dev/blog/using-go-modules)
|
@@ -6,4 +6,4 @@ Visit the following resources to learn more:
|
||||
|
||||
- [@official@golangci-lint](https://golangci-lint.run/)
|
||||
- [@official@golangci-linters](https://golangci-lint.run/usage/linters/)
|
||||
- [@opensource@golangci/golangci-lint](https://github.com/golangci/golangci-lint)
|
||||
- [@opensource@golangci/golangci-lint](https://github.com/golangci/golangci-lint)
|
@@ -1,4 +1,4 @@
|
||||
# `httptest` for HTTP Tests
|
||||
# httptest for HTTP Tests
|
||||
|
||||
The `httptest` package provides utilities for testing HTTP servers and clients without network connections. Includes `httptest.Server`, `ResponseRecorder`, and helpers for creating test requests. Essential for testing handlers, middleware, and HTTP services.
|
||||
|
||||
|
@@ -5,4 +5,4 @@ Basic conditional statements for binary decision making. `if` tests condition, `
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@if else](https://go.dev/tour/flowcontrol/7)
|
||||
- [@article@If-else: Gobyexample](https://gobyexample.com/if-else)
|
||||
- [@article@If-else: Gobyexample](https://gobyexample.com/if-else)
|
@@ -7,4 +7,4 @@ Visit the following resources to learn more:
|
||||
- [@official@Go](https://go.dev/)
|
||||
- [@official@Go Documentation](https://go.dev/doc/)
|
||||
- [@official@Get Started with Go](https://go.dev/doc/tutorial/getting-started)
|
||||
- [@article@Getting Started with Go and the Web](https://dev.to/markmunyaka/getting-started-with-go-and-the-web-hello-world-nal)
|
||||
- [@article@Getting Started with Go and the Web](https://dev.to/markmunyaka/getting-started-with-go-and-the-web-hello-world-nal)
|
@@ -6,4 +6,4 @@ Visit the following resources to learn more:
|
||||
|
||||
- [@article@Building High-Performance File Processing Pipelines in Go](https://dev.to/aaravjoshi/building-high-performance-file-processing-pipelines-in-go-a-complete-guide-3opm)
|
||||
- [@article@Mastering File I/O in Go: A Complete Guide](https://thelinuxcode.com/golang-os-open/)
|
||||
- [@article@Golang Fundamentals: File Handling and I/O](https://medium.com/@nagarjun_nagesh/golang-fundamentals-file-handling-and-i-o-502d50b96795)
|
||||
- [@article@Golang Fundamentals: File Handling and I/O](https://medium.com/@nagarjun_nagesh/golang-fundamentals-file-handling-and-i-o-502d50b96795)
|
@@ -6,4 +6,4 @@ Visit the following resources to learn more:
|
||||
|
||||
- [@article@Building High-Performance File Processing Pipelines in Go](https://dev.to/aaravjoshi/building-high-performance-file-processing-pipelines-in-go-a-complete-guide-3opm)
|
||||
- [@article@Mastering File I/O in Go: A Complete Guide](https://thelinuxcode.com/golang-os-open/)
|
||||
- [@article@Golang Fundamentals: File Handling and I/O](https://medium.com/@nagarjun_nagesh/golang-fundamentals-file-handling-and-i-o-502d50b96795)
|
||||
- [@article@Golang Fundamentals: File Handling and I/O](https://medium.com/@nagarjun_nagesh/golang-fundamentals-file-handling-and-i-o-502d50b96795)
|
@@ -6,4 +6,4 @@ Visit the following resources to learn more:
|
||||
|
||||
- [@article@Iterators in GoLang](https://blog.alexoglou.com/posts/iterators-golang/)
|
||||
- [@article@How to iterate string in Go](https://labex.io/tutorials/go-how-to-iterate-string-in-go-446115)
|
||||
- [@article@Mastering Golang String Manipulation: Functions and Examples](https://learngolanguage.com/mastering-golang-string-manipulation-essential-functions-and-techniques-for-2024/)
|
||||
- [@article@Mastering Golang String Manipulation: Functions and Examples](https://learngolanguage.com/mastering-golang-string-manipulation-essential-functions-and-techniques-for-2024/)
|
@@ -5,5 +5,5 @@ Creates and initializes slices, maps, and channels. Unlike `new()`, returns usab
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@make](https://go.dev/tour/moretypes/13)
|
||||
- [@article@The new() vs make() Functions in Go](https://nitish08.medium.com/loops-in-golang-d44fb39b08e)
|
||||
- [@article@The new() vs make() Functions in Go](https://www.freecodecamp.org/news/new-vs-make-functions-in-go/)
|
||||
- [@article@Understanding the make Function in Golang](https://www.zetcode.com/golang/builtins-make/)
|
@@ -5,5 +5,5 @@ Melody is a minimalist WebSocket framework for Go providing simple session manag
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Melody Package](https://pkg.go.dev/github.com/olahol/melody)
|
||||
- [@article@Build a Realtime Chat Server With Go and WebSockets](https://gabrieltanner.org/blog/realtime-chat-go-websockets/)
|
||||
- [@opensource@olahol/melody: Minimalist websocket framework](https://github.com/olahol/melody)
|
||||
- [@opensource@olahol/melody: Minimalist websocket framework](https://github.com/olahol/melody)
|
||||
- [@article@Build a Realtime Chat Server With Go and WebSockets](https://gabrieltanner.org/blog/realtime-chat-go-websockets/)
|
@@ -5,4 +5,4 @@ Standard library package providing operating system interface. Handles file oper
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@os package](https://pkg.go.dev/os)
|
||||
- [@article@An Overview of Go's `os` and `io` Packages](https://reintech.io/blog/an-overview-of-gos-os-and-io-packages)
|
||||
- [@article@An Overview of Go's os and io Packages](https://reintech.io/blog/an-overview-of-gos-os-and-io-packages)
|
@@ -1,4 +1,4 @@
|
||||
# `panic` and `recover`
|
||||
# panic and recover
|
||||
|
||||
`panic()` stops execution and unwinds stack, `recover()` catches panics in deferred functions. Use sparingly for unrecoverable errors. While Go emphasizes explicit errors, panic/recover serve as safety net for exceptional situations.
|
||||
|
||||
|
@@ -5,4 +5,4 @@ Enclosed in backticks (\`) and interpret characters literally without escape seq
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Carriage Returns](https://go.dev/ref/spec)
|
||||
- [@article@Golang Quick Reference: Strings. Introduction ](https://medium.com/@golangda/golang-quick-reference-strings-0d68bb036c29)
|
||||
- [@article@Golang Quick Reference: Strings. Introduction ](https://medium.com/@golangda/golang-quick-reference-strings-0d68bb036c29)
|
@@ -5,4 +5,4 @@ Realtime communication in Go enables instant bidirectional updates using WebSock
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@http package](https://pkg.go.dev/net/http)
|
||||
- [@article@Implementing WebSockets in Golang](https://medium.com/wisemonks/implementing-websockets-in-golang-d3e8e219733b)
|
||||
- [@article@Implementing WebSockets in Golang](https://medium.com/wisemonks/implementing-websockets-in-golang-d3e8e219733b)
|
@@ -6,4 +6,4 @@ Visit the following resources to learn more:
|
||||
|
||||
- [@official@make](https://go.dev/tour/moretypes/13)
|
||||
- [@article@The new() vs make() Functions in Go](https://nitish08.medium.com/loops-in-golang-d44fb39b08e)
|
||||
- [@article@Slice Arrays Correctly](https://labex.io/tutorials/go-how-to-slice-arrays-correctly-418936)
|
||||
- [@article@Slice Arrays Correctly](https://labex.io/tutorials/go-how-to-slice-arrays-correctly-418936)
|
@@ -6,4 +6,4 @@ Visit the following resources to learn more:
|
||||
|
||||
- [@official@String](https://go.dev/blog/strings)
|
||||
- [@official@Go Speculation](https://go.dev/ref/spec)
|
||||
- [@article@Golang Quick Reference: Strings. Introduction ](https://medium.com/@golangda/golang-quick-reference-strings-0d68bb036c29)
|
||||
- [@article@Golang Quick Reference: Strings. Introduction ](https://medium.com/@golangda/golang-quick-reference-strings-0d68bb036c29)
|
@@ -5,4 +5,4 @@ Struct tags provide metadata about fields using backticks with key-value pairs.
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Structs](https://go.dev/wiki/Well-known-struct-tags)
|
||||
- [@article@Working with JSON and Struct Tags](https://medium.com/@sanyamdubey28/working-with-json-and-struct-tags-in-go-0e6a7c4fc6b0)
|
||||
- [@article@Working with JSON and Struct Tags](https://medium.com/@sanyamdubey28/working-with-json-and-struct-tags-in-go-0e6a7c4fc6b0)
|
@@ -5,4 +5,4 @@ urfave/cli is a simple package for building command-line applications with intui
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@urfave/cli](https://cli.urfave.org/)
|
||||
- [@article@Building Command Line Tools in Go with urfave/cli](https://zetcode.com/golang/urfave-cli/)
|
||||
- [@article@Building Command Line Tools in Go with urfave/cli](https://zetcode.com/golang/urfave-cli/)
|
@@ -5,4 +5,4 @@ Import external libraries using `go get package-url` which updates `go.mod`. Con
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@Import and Use a Third-Party Package in Golang](https://thenewstack.io/import-and-use-a-third-party-package-in-golang/)
|
||||
- [@article@Using Third-Party Packages and Libraries in Golang](https://medium.com/@bramahendramahendra1/using-third-party-packages-and-libraries-in-golang-efbf0046f574)
|
||||
- [@article@Using Third-Party Packages and Libraries in Golang](https://medium.com/@bramahendramahendra1/using-third-party-packages-and-libraries-in-golang-efbf0046f574)
|
@@ -6,4 +6,4 @@ Visit the following resources to learn more:
|
||||
|
||||
- [@official@Value Receivers](https://go.dev/tour/methods/8)
|
||||
- [@article@Understanding Value and Pointer Receivers in Go Interfaces](https://afdz.medium.com/understanding-value-and-pointer-receivers-in-go-interfaces-e97a824fdded)
|
||||
- [@article@Go Method Receivers: Understanding Value vs. Pointer and When to Use](https://blog.stackademic.com/go-method-receivers-understanding-value-vs-pointer-and-when-to-use-each-74ef82d66a5c)
|
||||
- [@article@Go Method Receivers: Understanding Value vs. Pointer and When to Use](https://blog.stackademic.com/go-method-receivers-understanding-value-vs-pointer-and-when-to-use-each-74ef82d66a5c)
|
@@ -2,12 +2,11 @@
|
||||
|
||||
Go provides two main ways to declare variables: using `var` and using the short declaration operator `:=`.
|
||||
|
||||
The `var` keyword is used for explicit variable declarations. You can use it to define a variable with or without assigning a value. If no value is provided, Go assigns a default *zero value* based on the variable type. `var` can be used both inside and outside functions.
|
||||
The `var` keyword is used for explicit variable declarations. You can use it to define a variable with or without assigning a value. If no value is provided, Go assigns a default _zero value_ based on the variable type. `var` can be used both inside and outside functions.
|
||||
|
||||
The `:=` syntax is a shorthand for declaring and initializing a variable. It infers the type from the value and can only be used **inside functions**. This is a quick and convenient way to create variables without explicitly mentioning their types.
|
||||
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@official@Go Tour: Short variable declarations](https://go.dev/tour/basics/10)
|
||||
- [@official@Go Specification: Short Variable Declarations](https://go.dev/ref/spec#Short_variable_declarations)
|
||||
|
||||
- [@official@Go Specification: Short Variable Declarations](https://go.dev/ref/spec#Short_variable_declarations)
|
@@ -6,4 +6,4 @@ Visit the following resources to learn more:
|
||||
|
||||
- [@official@Shorthand Assignment](https://go.dev/tour/basics/10)
|
||||
- [@official@Var Assignment](https://go.dev/tour/basics/8)
|
||||
- [@article@How To Use Variables and Constants in Go](https://www.digitalocean.com/community/tutorials/how-to-use-variables-and-constants-in-go)
|
||||
- [@article@How To Use Variables and Constants in Go](https://www.digitalocean.com/community/tutorials/how-to-use-variables-and-constants-in-go)
|
@@ -5,4 +5,4 @@ Functions accepting variable number of arguments of same type. Syntax: `func nam
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@Unpacking Go Variadic Functions: Clever Ways to Use Them](https://dev.to/shrsv/unpacking-go-variadic-functions-clever-ways-to-use-them-4p25)
|
||||
- [@article@How To Use Variadic Functions in Go -](https://www.digitalocean.com/community/tutorials/how-to-use-variadic-functions-in-go)
|
||||
- [@article@How To Use Variadic Functions in Go -](https://www.digitalocean.com/community/tutorials/how-to-use-variadic-functions-in-go)
|
@@ -5,4 +5,4 @@ Synchronization primitive from sync package for waiting on multiple goroutines t
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@WaitGroup in Go - How and when to use WaitGroup](https://medium.com/@dmytro.misik/waitgroup-in-go-df8f068e646f)
|
||||
- [@article@Mastering Concurrency in Golang](https://thelinuxcode.com/mastering-concurrency-in-golang-a-deep-dive-into-the-waitgroup/)
|
||||
- [@article@Mastering Concurrency in Golang](https://thelinuxcode.com/mastering-concurrency-in-golang-a-deep-dive-into-the-waitgroup/)
|
@@ -6,4 +6,4 @@ Visit the following resources to learn more:
|
||||
|
||||
- [@official@http package](https://pkg.go.dev/net/http)
|
||||
- [@article@net/http package in Go](https://medium.com/@emonemrulhasan35/net-http-package-in-go-e178c67d87f1)
|
||||
- [@article@Mastering Concurrency in Golang](https://thelinuxcode.com/mastering-concurrency-in-golang-a-deep-dive-into-the-waitgroup/)
|
||||
- [@article@Mastering Concurrency in Golang](https://thelinuxcode.com/mastering-concurrency-in-golang-a-deep-dive-into-the-waitgroup/)
|
@@ -7,4 +7,4 @@ Visit the following resources to learn more:
|
||||
- [@official@Maps](https://go.dev/blog/maps)
|
||||
- [@official@Pointers](https://go.dev/tour/moretypes/1)
|
||||
- [@article@Slice Arrays Correctly](https://labex.io/tutorials/go-how-to-slice-arrays-correctly-418936)
|
||||
- [@article@Complete Guide to Pointers in Go: From Basics to Best Practices](https://www.willworth.dev/Go-Pointers)
|
||||
- [@article@Complete Guide to Pointers in Go: From Basics to Best Practices](https://www.willworth.dev/Go-Pointers)
|
@@ -5,4 +5,4 @@ Concurrency pattern using fixed number of goroutines to process tasks from share
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@GO: How to Write a Worker Pool](https://dev.to/justlorain/go-how-to-write-a-worker-pool-1h3b)
|
||||
- [@article@Efficient Concurrency in Go: A Deep Dive into the Worker Pool](https://rksurwase.medium.com/efficient-concurrency-in-go-a-deep-dive-into-the-worker-pool-pattern-for-batch-processing-73cac5a5bdca)
|
||||
- [@article@Efficient Concurrency in Go: A Deep Dive into the Worker Pool](https://rksurwase.medium.com/efficient-concurrency-in-go-a-deep-dive-into-the-worker-pool-pattern-for-batch-processing-73cac5a5bdca)
|
@@ -5,4 +5,4 @@ Create error chains preserving original errors while adding context using `fmt.E
|
||||
Visit the following resources to learn more:
|
||||
|
||||
- [@article@Golang: error wrapping / unwrapping](https://medium.com/@vajahatkareem/golang-error-wrapping-multierror-759d04bdbfaf)
|
||||
- [@article@Error Wrapping in Go - Go Error Handling Example](https://go-cookbook.com/snippets/error-handling/error-wrapping)
|
||||
- [@article@Error Wrapping in Go - Go Error Handling Example](https://go-cookbook.com/snippets/error-handling/error-wrapping)
|
@@ -6,4 +6,4 @@ Visit the following resources to learn more:
|
||||
|
||||
- [@official@zap package - go.uber.org/zap](https://pkg.go.dev/go.uber.org/zap)
|
||||
- [@article@A Comprehensive Guide to Zap Logging in Go](https://betterstack.com/community/guides/logging/go/zap/)
|
||||
- [@article@Structured Logging in Golang with Zap](https://codewithmukesh.com/blog/structured-logging-in-golang-with-zap/)
|
||||
- [@article@Structured Logging in Golang with Zap](https://codewithmukesh.com/blog/structured-logging-in-golang-with-zap/)
|
@@ -6,4 +6,4 @@ Visit the following resources to learn more:
|
||||
|
||||
- [@official@Zero Values](https://go.dev/tour/basics/12)
|
||||
- [@article@Golang Zero Values (0 and Beyond)](https://golangprojectstructure.com/default-zero-values-in-go-code/)
|
||||
- [@article@Zero Values in Golang](https://www.scaler.com/topics/golang/golang-zero-values/)
|
||||
- [@article@Zero Values in Golang](https://www.scaler.com/topics/golang/golang-zero-values/)
|
@@ -6,4 +6,4 @@ Visit the following resources to learn more:
|
||||
|
||||
- [@official@zerolog package](https://pkg.go.dev/github.com/rs/zerolog)
|
||||
- [@article@A Complete Guide to Logging in Go with Zerolog](https://betterstack.com/community/guides/logging/zerolog/)
|
||||
- [@article@Zerolog Golang - Complete Guide to Logging](https://signoz.io/guides/zerolog-golang/)
|
||||
- [@article@Zerolog Golang - Complete Guide to Logging](https://signoz.io/guides/zerolog-golang/)
|
Reference in New Issue
Block a user