These are the two most popular myths about Hoisting
So let’s talk about the first myth,
Does all the variable and function declaration gets moved to the top of the program?
What! If this is not the case then…
What is your favorite debugging technique ? Mine was using
console.log until I came to know about there is something called debugger. So in this article I will write about debugger , terms related to debugger and why should we use debugger instead of
Before we start debugging our code we need to know the few terms related to debugger and of-course what the heck is debugger . So tighten your seat belt be ready for thrilling ride of debugging .
In this post we will write a very simple RESTful API for user registration and login .We will be using mongodb official mongo-go-driver for populating data.We will use jwt-go to decode, verify and generate Authentication tokens.
In this post we will write following end points :
I am assuming that you have already installed go in your system and set the go path. If not then you can follow https://golang.org/doc/install and install go on your system.