Skip to content
/ jorm Public

An interface wrapper around gorm to allow for easier testing and tracing developed by myself, @rf, and @sh6khan

License

Notifications You must be signed in to change notification settings

jloom6/jorm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jorm

jorm is an interface wrapper around gorm

jorm can replace gorm with very little code change, and allows the benefit of easier testing via mocks and the ability to trace a query with using the OpenTracing instrumentation by opentracing-gorm

To set the context simply call db.WithContext(ctx) and use the db returned by that function

About

An interface wrapper around gorm to allow for easier testing and tracing developed by myself, @rf, and @sh6khan

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages