go2go

package module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2022 License: MIT Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SplitPackegeStruct

func SplitPackegeStruct(s string) (string, string)

SplitPackegeStruct - package.structを分割

Types

type GeneratedType

type GeneratedType struct {
	Path string
	Name string
}

type Generator

type Generator struct {
	ExternalGenerator func(tstypes.Type) (*GeneratedType, bool)
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(types map[string]tstypes.Type, prereserved []string) *Generator

func (*Generator) Generate

func (g *Generator) Generate() (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL