mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-07 01:46:33 -05:00
14 lines
494 B
Go
14 lines
494 B
Go
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
|