Skip to content

Commit

Permalink
fix: update documentation for postgres schema
Browse files Browse the repository at this point in the history
  • Loading branch information
wesnick committed Mar 18, 2024
1 parent 8288aad commit 70631b4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,18 @@ database := gosumer.PgDatabase{
}
```

If you are using a custom schema, you can specify it with backticks:
```go
database := gosumer.PgDatabase{
Host: "localhost",
Port: 5432,
User: "app",
Password: "!ChangeMe!",
Database: "app",
TableName: `"myschema"."messenger_messages"`,
}
```

For RabbitMQ:
```go
database := gosumer.RabbitMQ{
Expand Down

0 comments on commit 70631b4

Please sign in to comment.