---
title: "Discussion on \"RESTful APIs using Golang and Gorilla Mux for beginners\" | Hashnode"
description: "Discussion on \"RESTful APIs using Golang and Gorilla Mux for beginners\". In this article, we're going to create a simple REST APIs with complete CRUD functionality using Golang. Also, we will be using Gorilla Mux router for routing purposes.\n\nWhat is Golang?\n\nGolang is a statically typed, compiled programming language des..."
url: "https://hashnode.com/posts/restful-apis-using-golang-and-gorilla-mux-for-beginners/6013e43a13f0a55761bdc2be"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [RESTful APIs using Golang and Gorilla Mux for beginners](https://blog.learncodeonline.in/restful-apis-using-golang-and-gorilla-mux-for-beginners?utm_source=hashnode&utm_medium=feed)

In this article, we're going to create a simple REST APIs with complete CRUD functionality using Golang. Also, we will be using Gorilla Mux router for routing purposes. What is Golang? Golang is a statically typed, compiled programming language des...

Jan 29, 2021 · 12 min read · blog.learncodeonline.in  
Updated Feb 14, 2022  
Read the article

-   [#go](https://hashnode.com/tag/go)
-   [#concurrency](https://hashnode.com/tag/concurrency)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#rest-api](https://hashnode.com/tag/rest-api)
-   [#crud](https://hashnode.com/tag/crud)

## Written by

[Shubham Waje](https://hashnode.com/@wajeshubham)

@wajeshubham · Mumbai

  
[View profile](https://hashnode.com/@wajeshubham)

Software Engineer | Consultant at EY

Consultant at EY

## Responses 1

Markdown supported · ⌘↵ to post

[Amal Shaji](https://hashnode.com/@amal)

[Jan 30, 2021](https://hashnode.com/posts/restful-apis-using-golang-and-gorilla-mux-for-beginners/6013e43a13f0a55761bdc2be/comment/60156436e54673573b571b1b)

Why create a workspace under GOPATH/src when you can use Go Modules?

[Shubham Waje](https://hashnode.com/@wajeshubham)

[Jan 30, 2021](https://hashnode.com/posts/restful-apis-using-golang-and-gorilla-mux-for-beginners/6013e43a13f0a55761bdc2be/comment/60156436e54673573b571b1b#reply-60157949e54673573b571cc2)

I wasn't planning to add any project structure as this was a basic project. So, I went with GOPATH instead of Go modules.

But yes, you are right! modules are dramatically faster than GOPATH, and one should always consider them over GOPATH. Thank you for addressing.
