generic.go 495 B

12345678910111213
  1. package generic
  2. // Type is the placeholder type that indicates a generic value.
  3. // When genny is executed, variables of this type will be replaced with
  4. // references to the specific types.
  5. // var GenericType generic.Type
  6. type Type interface{}
  7. // Number is the placeholder type that indiccates a generic numerical value.
  8. // When genny is executed, variables of this type will be replaced with
  9. // references to the specific types.
  10. // var GenericType generic.Number
  11. type Number float64