Skip to content

gdavison/factory_gorl

Repository files navigation

factory_gorl

A Go port of Ruby’s factory_girl.

Documentation

Coming soon. In the meantime, take a look at the tests.

Install

go get github.com/gdavison/factory_gorl

Status

So far, it can be used to initialize (Build) an in-memory object and to persist the object (Create) using gorp. Associations have not yet been implemented.

When Createing or Building an object, the factory can be overridden by passing a builder function.

Factory inheritance is implemented.

Copyright © 2014 Graham Davison.

About

A Go port of Ruby’s factory_girl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages