In the previous blog, I have covered the fundamentals of the Go module, and dependency management in GoLang.
In this blog, I will try to cover adding versions to the project(tagging the module) and how to upgrade the vendor to a specific version.
Version is an identifier for an irreversible snapshot of a module which is considered as a release or pre-release(beta versions).
It is written as the letter v(implies version) followed by a semantic version. Semantic versions are non-negative integers and are in the format of (major_version).(minor_version).(patch_version)
Following are some cases for each version:
patch_version MUST be incremented if…
Before answering, the question is yes or no, let's first understand what actually lambda functions are and why we need these.
A lambda function is a small block of code that performs a single task, it is an anonymous function.
A lambda function can take any number of arguments, but can only have one expression.
the syntax for lambda function :
lambda arguments: expression
Why We Need Lambda Expressions:
Lambda expressions in Python can be more efficient to use in cases where it includes common programming phrases such as mapping, filtering, and list comprehension.
In terms of Performance, Creating a…
In this blog, I will try to cover the fundamentals of the go module, how dependency management works in GoLang projects.
I will try to explain some often used commands like
go mod tidy,
go mod vendor, also the mod cache in GoLang.
The go.mod file is the root of dependency management in GoLang. All the modules which are needed or to be used in the project are maintained in go.mod file.
For all the packages we are going to import/use in our project, it will create an entry of those modules in go.mod. …
In this era of various technologies, people working in the tech world have to learn/explore different tools and technologies to keep themselves updated.
To keep up with the pace of learning, everyone needs to find a method that works for them. In this article, I am sharing an in general step-wise process of learning that can help you to gain confidence over a technology, programming language.
Even if you don’t know the topics/domain you are attending the talks, this will give you the motivation to go through the concepts.
Meetups give you the chance to relate things to your domain…