Keine Beschreibung

stringify.go 309B

1234567891011
  1. package main
  2. // STRINGER OMIT
  3. // Stringer is a type constraint that requires the type argument to have
  4. // a String method and permits the generic function to call String.
  5. // The String method should return a string representation of the value.
  6. type Stringer interface {
  7. String() string
  8. }
  9. // STRINGER OMIT