Skip to content

Commit

Permalink
docs(examples): update getting started instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
bartventer committed Apr 26, 2024
1 parent 61e9ab2 commit acbae94
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,23 @@ This directory contains examples of how to use the `gorm-multitenancy` package w

## Getting Started

To run these examples, you have two options:
Clone the main repository and navigate to the relevant example directory:

1. Clone the main repository and navigate to the relevant example directory:

```bash
go get -u github.com/bartventer/gorm-multitenancy/v5
```

2. Or just clone the relevant example directory directly:
```bash
git clone https://github.com/bartventer/gorm-multitenancy.git
cd gorm-multitenancy
```

_Echo example_:
- _Echo_:

```bash
go get -u github.com/bartventer/gorm-multitenancy/v5/examples/echo
cd ./examples/echo
```

_net/http example_:
- _net/http_:

```bash
go get -u github.com/bartventer/gorm-multitenancy/v5/examples/nethttp
cd ./examples/nethttp
```

## Running the Server
Expand Down

0 comments on commit acbae94

Please sign in to comment.