Personally, this framework excites me a lot because it is really focussed on web development which I enjoy a lot.
It’s a framework inspired by the Node.js Express framework build on top of Fasthttp and as frameworks use to do, it just helps a lot with getting you started to build out your web applications in Go.
To get started, we create a new Go project which is done as follows, you create a new file called main.go
and you enter the following starter code:
package mainfunc main() {}
To install this framework, run the following command in your command line or terminal/bash:
go get github.com/gofiber/fiber/v2
That will install the fiber module for you. You can now import this into your main.go
file.
package mainimport "github.com/gofiber/fiber/v2"func main() {}
Now you are able to use the framework.
#web-development #golang #programming