code: func (s *VolumesService) Get(ctx context.Context, name string, getOpts ...opts.GetOption) (*types.Volume, error) {
  	v, err := s.vs.Get(ctx, name, getOpts...)
  	if err != nil {
  		return nil, err
  	}
  	vol := volumeToAPIType(v)
  
  	var cfg opts.GetConfig
  	for _, o := range getOpts {
  		o(&cfg)
  	}
  
  	if cfg.ResolveStatus {
  		vol.Status = v.Status()
  	}
  	return &vol, nil
  }
docs: // Get returns details about a volume