service.go
func (s *services) add(r *repoService) {
	s.Lock()
	defer s.Unlock()

	s.services = append(s.services, r)
}
func (s *services) add(r *repoService) {
	s.Lock()
	defer s.Unlock()

	s.services = append(s.services, r)
}
func ( s * services ) add ( r * repoService ) { s . Lock ( ) defer s . Unlock ( ) s . services = append ( s . services , r ) }
// add adds a new service to list of services.
add adds a new service to list of services .