Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

17 řádky
501 B

  1. // Code generated by "stringer -type Type"; DO NOT EDIT.
  2. package metricdata
  3. import "strconv"
  4. const _Type_name = "TypeGaugeInt64TypeGaugeFloat64TypeGaugeDistributionTypeCumulativeInt64TypeCumulativeFloat64TypeCumulativeDistributionTypeSummary"
  5. var _Type_index = [...]uint8{0, 14, 30, 51, 70, 91, 117, 128}
  6. func (i Type) String() string {
  7. if i < 0 || i >= Type(len(_Type_index)-1) {
  8. return "Type(" + strconv.FormatInt(int64(i), 10) + ")"
  9. }
  10. return _Type_name[_Type_index[i]:_Type_index[i+1]]
  11. }