https://github.com/mindinventory/golang-project-structure
Golang Skeleton With Fully Managed Versions For Kick Start GoLang Project Development
https://github.com/mindinventory/golang-project-structure
easy-to-use go-framework go-gin go-jwt go-playground golang golang-library golang-package golang-server golang-skeleton golang-struct gorm gorm-model kick-start-golang
Last synced: about 1 year ago
JSON representation
Golang Skeleton With Fully Managed Versions For Kick Start GoLang Project Development
- Host: GitHub
- URL: https://github.com/mindinventory/golang-project-structure
- Owner: Mindinventory
- Created: 2019-04-22T10:38:57.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-25T07:04:11.000Z (about 3 years ago)
- Last Synced: 2025-03-29T01:11:12.952Z (about 1 year ago)
- Topics: easy-to-use, go-framework, go-gin, go-jwt, go-playground, golang, golang-library, golang-package, golang-server, golang-skeleton, golang-struct, gorm, gorm-model, kick-start-golang
- Language: Go
- Homepage: https://www.mindinventory.com/blog/golang-project-structure/
- Size: 734 KB
- Stars: 485
- Watchers: 15
- Forks: 135
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
* https://www.digitalocean.com/community/tutorial_collections/how-to-install-go OR https://golang.org/dl
2. Once installed, Please check via below command
```bash
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
```bash
go run .
```
5. If any error comes related to any dependency, then install dependency individually as like below command
```bash
go get
```
## Run Swagger
- Swagger doc URL - http://xxxxxxxxxx:PORT/vVERSION/SERVICENAME/docs
🌟 You are all set!