# README
go-txhelper

go-txhelper is a module that abstracts database transaction behaviour. It does so by differentiating between Read and Write operations.
It is designed for the use of mappers where you do not know whether you need a transaction or not.
Example
<$
package main
import (
"io"
"os"
)
func main() {
f, err := os.Open("./example/main.go")
if err != nil {
panic(err)
}
defer f.Close()
_, err = io.Copy(os.Stdout, f)
if err != nil {
panic(err)
}
}
-$>