code: func newDesignateClient() (designateClientInterface, error) {
  	serviceClient, err := createDesignateServiceClient()
  	if err != nil {
  		return nil, err
  	}
  	return &designateClient{serviceClient}, nil
  }
docs: // factory function for the designateClientInterface