File size: 598 Bytes
048b1e8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//go:generate go tool github.com/jmattheis/goverter/cmd/goverter gen ./

package api

// This file contains the conversion functions for the API types.
// This can be used to convert between similar API types, as the oapi-codegen generates
// different types for the same Go struct.

// goverter:variables
// goverter:skipCopySameType
// goverter:output:file ./convert.gen.go
// goverter:enum no
var (
	FromBillingDiscountPercentageToDiscountPercentage func(BillingDiscountPercentage) DiscountPercentage
	FromBillingDiscountUsageToDiscountUsage           func(BillingDiscountUsage) DiscountUsage
)