Skip to content

mukulmantosh/go-gorilla-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang Gorilla/Mux CRUD REST

golang_icon In this application we are going to create CRUD endpoints using Gorilla/Mux and GORM.

Installing Dependencies

go get -u github.com/gorilla/mux
go get -u gorm.io/gorm
go get -u gorm.io/driver/mysql

When you're creating the user package make sure to run the below command

god mod init user
god mod tidy

Run the below command in the root

go mod edit -replace user=./user

Once, you're done with all the changes.

Run the below command

go build

You will receive a binary file in your project root, under the name go-rest in Windows go-rest.exe

About

Basic CRUD Operations using Gorilla/Mux and GORM

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages