mirror of https://github.com/ginuerzh/gost
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
494 B
13 lines
494 B
package generic
|
|
|
|
// Type is the placeholder type that indicates a generic value.
|
|
// When genny is executed, variables of this type will be replaced with
|
|
// references to the specific types.
|
|
// var GenericType generic.Type
|
|
type Type interface{}
|
|
|
|
// Number is the placehoder type that indiccates a generic numerical value.
|
|
// When genny is executed, variables of this type will be replaced with
|
|
// references to the specific types.
|
|
// var GenericType generic.Number
|
|
type Number float64
|
|
|