Documentation ¶
Index ¶
- func New() *template.Template
- type FormatTypeFunc
- func (f *FormatTypeFunc) FormatKindEnum(representation string, refName string) string
- func (f *FormatTypeFunc) FormatKindInputObject(representation string, refName string) string
- func (f *FormatTypeFunc) FormatKindList(representation string) string
- func (f *FormatTypeFunc) FormatKindObject(representation string, refName string) string
- func (f *FormatTypeFunc) FormatKindScalarBoolean(representation string) string
- func (f *FormatTypeFunc) FormatKindScalarDefault(representation string, refName string, input bool) string
- func (f *FormatTypeFunc) FormatKindScalarFloat(representation string) string
- func (f *FormatTypeFunc) FormatKindScalarInt(representation string) string
- func (f *FormatTypeFunc) FormatKindScalarString(representation string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FormatTypeFunc ¶ added in v0.3.12
type FormatTypeFunc struct{}
FormatTypeFunc is an implementation of generator.FormatTypeFuncs interface to format GraphQL type into Typescript.
func (*FormatTypeFunc) FormatKindEnum ¶ added in v0.3.12
func (f *FormatTypeFunc) FormatKindEnum(representation string, refName string) string
func (*FormatTypeFunc) FormatKindInputObject ¶ added in v0.3.12
func (f *FormatTypeFunc) FormatKindInputObject(representation string, refName string) string
func (*FormatTypeFunc) FormatKindList ¶ added in v0.3.12
func (f *FormatTypeFunc) FormatKindList(representation string) string
func (*FormatTypeFunc) FormatKindObject ¶ added in v0.3.12
func (f *FormatTypeFunc) FormatKindObject(representation string, refName string) string
func (*FormatTypeFunc) FormatKindScalarBoolean ¶ added in v0.3.12
func (f *FormatTypeFunc) FormatKindScalarBoolean(representation string) string
func (*FormatTypeFunc) FormatKindScalarDefault ¶ added in v0.3.12
func (f *FormatTypeFunc) FormatKindScalarDefault(representation string, refName string, input bool) string
func (*FormatTypeFunc) FormatKindScalarFloat ¶ added in v0.3.12
func (f *FormatTypeFunc) FormatKindScalarFloat(representation string) string
func (*FormatTypeFunc) FormatKindScalarInt ¶ added in v0.3.12
func (f *FormatTypeFunc) FormatKindScalarInt(representation string) string
func (*FormatTypeFunc) FormatKindScalarString ¶ added in v0.3.12
func (f *FormatTypeFunc) FormatKindScalarString(representation string) string
Click to show internal directories.
Click to hide internal directories.