implement a map for outgoing streams

This commit is contained in:
Marten Seemann
2018-02-03 10:54:22 +08:00
parent dadd8071f1
commit 035799a326
9 changed files with 340 additions and 0 deletions

2
vendor/github.com/cheekybits/genny/generic/doc.go generated vendored Normal file
View File

@@ -0,0 +1,2 @@
// Package generic contains the generic marker types.
package generic

13
vendor/github.com/cheekybits/genny/generic/generic.go generated vendored Normal file
View File

@@ -0,0 +1,13 @@
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