Live reloading golang applications!
Personally, I use nodemon.
If you do not have nodemon installed:
- npm install -g nodemon
Then, run:
- nodemon --exec go run cmd/main.go --signal SIGTERM
Note: I do not recommend to use for huge project ;)
The Go Gopher!
Personally, I use nodemon.
If you do not have nodemon installed:
- npm install -g nodemon
Then, run:
- nodemon --exec go run cmd/main.go --signal SIGTERM
Note: I do not recommend to use for huge project ;)
The Go Gopher!
Hello π!
As your project grows, some find hard when it comes to debugging.
I would like to suggest.
π: github.com/pkg/errors
If you like it, please, leave start* on github.
#advise
As your project grows, some find hard when it comes to debugging.
I would like to suggest.
π: github.com/pkg/errors
If you like it, please, leave start* on github.
#advise
GitHub
GitHub - pkg/errors: Simple error handling primitives
Simple error handling primitives. Contribute to pkg/errors development by creating an account on GitHub.
π2
FAQ:
What makes you get to the next level?
One thing I believe, while coding, ask yourself, why am I doing it?
If you want to know your progress, please, take a look at your previous projects.
If you find better options and solutions, that means that your progress is going well.
βDo not settle, stay hungry and stay foolishβ - Steve Jobs.
#faq
What makes you get to the next level?
One thing I believe, while coding, ask yourself, why am I doing it?
If you want to know your progress, please, take a look at your previous projects.
If you find better options and solutions, that means that your progress is going well.
βDo not settle, stay hungry and stay foolishβ - Steve Jobs.
#faq
π3
The most common question in the interview:
1. What is the difference between slice and array in golang?
1. What is the difference between slice and array in golang?
You might hear people say that Go is a call by value language and wonder what that means. It means that when you supply a variable for a parameter to a function, Go always makes a copy of the value of the variable.
Reference: Learning Go Book
#resourse
Reference: Learning Go Book
#resourse
π2
Dilmurod Yangiboev | DYDO :)
Photo
But in this case, the first value is going to change even though function makes a copy of it. The reason is β Slices, Maps, and Channels are reference types. β
#useful
#useful
Hello,
For beginners, I highly recommend to watch and code along.
She is one of the best instructors and docker captains I have found so far.
https://www.youtube.com/watch?v=yyUHQIec83I
For beginners, I highly recommend to watch and code along.
She is one of the best instructors and docker captains I have found so far.
https://www.youtube.com/watch?v=yyUHQIec83I
YouTube
Golang Tutorial for Beginners | Full Go Course
Full Golang Tutorial to learn the Go Programming Language while building a simple CLI application
In this full Golang course you will learn about one of the youngest programming languages that is becoming more and more popular in the cloud engineering worldβ¦
In this full Golang course you will learn about one of the youngest programming languages that is becoming more and more popular in the cloud engineering worldβ¦
One of the best resourses that I have used! π
https://talks.golang.org/2013/bestpractices.slide#1
for more: https://t.me/golang_dells
#resourse
https://talks.golang.org/2013/bestpractices.slide#1
for more: https://t.me/golang_dells
#resourse
I really like the document that golang team has provided in a page you can get a lot.
https://go.dev/doc/effective_go
#resourse
https://go.dev/doc/effective_go
#resourse
go.dev
Effective Go - The Go Programming Language
0. Robert Griesemer, Rob Pike, and Ken Thompson designed Go at Google in 2007.
1. Google wants an alternative to C++ and solves the issues of software engineering, this gives rise to the development of the Go programming language.
2. Go is supported on almost every Operating system like DragonFly BSD, FreeBSD, Linux, macOS, NetBSD, OpenBSD, Plan 9, Solaris, and Windows.
3. Go provides 2 features that are capable of replacing Class inheritance. The first is embedding and the other is interfaces.
source: https://www.geeksforgeeks.org/interesting-facts-about-golang
#facts
1. Google wants an alternative to C++ and solves the issues of software engineering, this gives rise to the development of the Go programming language.
2. Go is supported on almost every Operating system like DragonFly BSD, FreeBSD, Linux, macOS, NetBSD, OpenBSD, Plan 9, Solaris, and Windows.
3. Go provides 2 features that are capable of replacing Class inheritance. The first is embedding and the other is interfaces.
source: https://www.geeksforgeeks.org/interesting-facts-about-golang
#facts
GeeksforGeeks
Interesting Facts About Golang - GeeksforGeeks
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
0. Go has garbage collection which automatically performs memory management and permits deferred execution of functions.
1.There is a special Keyword in Go called βdeferβ, which delays the execution of method or function until the nearby function returns.
2. Go has a special built-in function known as βmakeβ, which is used to create slices, maps, and channels.
3. If any variable or package is declared but not used then, the Go compiler will show an error.
4. In Go, there is a new data type known as βsliceβ, which has a more powerful interface to sequences as compared to Arrays.
source: https://www.geeksforgeeks.org/interesting-facts-about-golang
#facts
1.There is a special Keyword in Go called βdeferβ, which delays the execution of method or function until the nearby function returns.
2. Go has a special built-in function known as βmakeβ, which is used to create slices, maps, and channels.
3. If any variable or package is declared but not used then, the Go compiler will show an error.
4. In Go, there is a new data type known as βsliceβ, which has a more powerful interface to sequences as compared to Arrays.
source: https://www.geeksforgeeks.org/interesting-facts-about-golang
#facts
GeeksforGeeks
Interesting Facts About Golang - GeeksforGeeks
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.