mirror of
https://github.com/Threnklyn/jira.git
synced 2026-06-05 12:41:32 +02:00
15 lines
357 B
Go
15 lines
357 B
Go
package gogenerate
|
|
|
|
import "github.com/cheekybits/genny/generic"
|
|
|
|
//go:generate genny -in=$GOFILE -out=gen-$GOFILE gen "KeyType=string,int ValueType=string,int"
|
|
|
|
type KeyType generic.Type
|
|
type ValueType generic.Type
|
|
|
|
type KeyTypeValueTypeMap map[KeyType]ValueType
|
|
|
|
func NewKeyTypeValueTypeMap() map[KeyType]ValueType {
|
|
return make(map[KeyType]ValueType)
|
|
}
|