Versions in this module Expand all Collapse all v1 v1.60.3 Feb 8, 2024 v1.60.2 Feb 8, 2024 Changes in this version + func Open(dialector gorm.Dialector, cfg *gorm.Config, opts ...Option) (*gorm.DB, error) + type Option func(*config) + func WithAnalytics(on bool) Option + func WithAnalyticsRate(rate float64) Option + func WithCustomTag(tag string, tagFn func(db *gorm.DB) interface{}) Option + func WithErrorCheck(fn func(err error) bool) Option + func WithServiceName(name string) Option