您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

14 行
288B

  1. package cache
  2. //go:generate stringer -type=Operation -linecomment
  3. // Operation cache operation.
  4. type Operation int
  5. // available opearation.
  6. const (
  7. OperationGet Operation = iota + 1 //get
  8. OperationSet //set
  9. OperationDelete //delete
  10. )