code: func (c *Cache) SetWriteStrategy(s string) (err error) {
  	c.Lock()
  	defer c.Unlock()
  
  	switch s {
  	case "max":
  		c.writeStrategy = MaximumLength
  	case "sorted":
  		c.writeStrategy = TimestampOrder
  	case "noop":
  		c.writeStrategy = Noop
  	default:
  		return fmt.Errorf("Unknown write strategy '%s', should be one of: max, sorted, noop", s)
  	}
  	return nil
  }
docs: // SetWriteStrategy ...