Skip to content

Commit

Permalink
Add instructions for installation with SQLite3
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislas-m committed Aug 23, 2019
1 parent 8116701 commit 3414993
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

<p align="center">
<a href="https://godoc.org/github.com/gobuffalo/buffalo-pop"><img src="https://godoc.org/github.com/gobuffalo/buffalo-pop?status.svg" alt="GoDoc" /></a>
<a href="https://travis-ci.org/gobuffalo/buffalo-pop"><img src="https://travis-ci.org/gobuffalo/buffalo-pop.svg?branch=master" alt="Build Status" /></a>
<a href="https://goreportcard.com/report/github.com/gobuffalo/buffalo-pop"><img src="https://goreportcard.com/badge/github.com/gobuffalo/buffalo-pop" alt="Go Report Card" /></a>
</p>

Expand All @@ -16,6 +15,12 @@ This is the home for all things that combine [Buffalo](https://github.com/gobuff
$ go get -u -v github.com/gobuffalo/buffalo-pop
```

Or with SQLite 3 support:

```bash
$ go get -tags sqlite -u -v github.com/gobuffalo/buffalo-pop
```

## Transaction Middleware

The `popmw.Transaction` will wrap each request inside of a new database transaction and automatically commit, or rollback, based on whether or not an error was returned from an upstream `buffalo.Handler` or `buffalo.MiddlewareFunc`.
Expand Down

0 comments on commit 3414993

Please sign in to comment.