code: func (s *Snapshot) Close() error {
  	if s == nil {
  		return nil
  	}
  
  	if err := s.file.Close(); err != nil {
  		return err
  	}
  	return os.Remove(s.file.Name())
  }
docs: // Close closes the snapshot and removes any temporary storage associated with
  // it. You must arrange to call this whenever NewSnapshot() has been called
  // successfully. This is safe to call on a nil snapshot.