v2ray-core/external/github.com/cheekybits/genny/generic/generic.go

14 lines
494 B
Go
Raw Normal View History

2018-11-20 22:51:25 +00:00
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