Skip to content

Mindinventory/Golang-Project-Structure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

65865e6 ยท Apr 25, 2023

History

62 Commits
Apr 19, 2023
Apr 19, 2023
Apr 19, 2023
Apr 19, 2023
Apr 19, 2023
Apr 19, 2023
Apr 19, 2023
Apr 19, 2023
Apr 25, 2023
Apr 25, 2023
Apr 19, 2023
Apr 19, 2023

Repository files navigation

Golang-Program-Structure

This is a Project structure for developers to kick-start their journey of developing golang project.

๐Ÿ™‡ Application Requirement

  1. Install Go version - 1.19.2 via
  1. Once installed, Please check via below command
    go version

๐Ÿ› ๏ธ Start the application locally

  1. Clone the repository

  2. Create an .env file at root directory of project and copy the keys from .env.example file and update its values

  3. Run go get . to install all the required dependencies

  4. From go-program-structure directory, open a terminal and run

    go run .
  1. If any error comes related to any dependency, then install dependency individually as like below command
    go get <URL of dependency>

Run Swagger

๐ŸŒŸ You are all set!