first install gorm from github.com/jinzhu/gorm and mux from github.com/gorilla/mux and also the github that we want to store the packages
and you install them by using the go get github.com/
- the gorm is use to create the model
- the mux is use to control the router to install the mysql in other to use mysql from the mysql database we use github.com/jinzhu/gorm/dialect/mysql
to create the route work we install the
- mux
- the controller page fom the github that we store the whole package then you create the func that hold the route path with handlefunc(the pathname, the controller func).methods