Skip to content

Commit c1438a3

Browse files
authored
#2 initial commit
Initial commit
2 parents a4d2d82 + 75706df commit c1438a3

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @MitulShah1

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# golang-rest-api-template
2-
Go Rest API Templates
2+
[![license](https://img.shields.io/badge/license-MIT-green)](https://raw.githubusercontent.com/MitulShah1/golang-rest-api-template/main/LICENSE)
3+
[![build](https://github.com/MitulShah1/golang-rest-api-template//actions/workflows/go.yml/badge.svg?branch=main)](https://github.com/MitulShah1/golang-rest-api-template/actions/workflows/go.yml)
34

45
## Overview
56
This is a template for building production-ready and easily extendible REST API using Go. It follows best practices and includes a standardized project structure with all necessary components for building scalable microservices.
@@ -104,13 +105,17 @@ Create Migration:
104105
```bash
105106
make create_migration
106107
```
107-
```bash
108+
108109
Run Migrations:
109-
```
110110
```bash
111111
make migration_up
112112
```
113113

114+
Down Migrations:
115+
```bash
116+
make migration_down
117+
```
118+
114119
## Configuration
115120
Configuration is managed through `.env`. Environment variables can override these settings.
116121

0 commit comments

Comments
 (0)