func NewRepService(db *gorm.DB) RepService {
	return &repService{
		RepDB: &repValidator{
			RepDB: &repGorm{
				db:      db,
				tmpReps: make(map[string]string),
				m:       &sync.RWMutex{},
			},
		},
	}
}
// NewRepService creates the rep service object
NewRepService creates the rep service object
// NewRepService creates the rep service object
func NewRepService(db *gorm.DB) RepService {
	return &repService{
		RepDB: &repValidator{
			RepDB: &repGorm{
				db:      db,
				tmpReps: make(map[string]string),
				m:       &sync.RWMutex{},
			},
		},
	}
}
func NewRepService ( db * gorm . DB ) RepService { return & repService { RepDB : & repValidator { RepDB : & repGorm { db : db , tmpReps : make ( map [ string ] string ) , m : & sync . RWMutex { } , } , } , } }
NewRepService creates the rep service object
NewRepService creates the rep service object