 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsExported ¶
Types ¶
type TypeScriptify ¶
type TypeScriptify struct {
	Prefix             string
	Suffix             string
	Indent             string
	CreateConstructor  bool
	CreateEmptyObject  bool
	CreateAllModelType bool
	UseInterface       bool
	BackupExtension    string // If empty no backup
	AllOptional bool
	// contains filtered or unexported fields
}
    func New ¶
func New() *TypeScriptify
func (*TypeScriptify) Add ¶
func (t *TypeScriptify) Add(obj interface{})
func (*TypeScriptify) AddType ¶
func (t *TypeScriptify) AddType(typeOf reflect.Type)
func (*TypeScriptify) Convert ¶
func (t *TypeScriptify) Convert(customCode map[string]string) (string, error)
func (TypeScriptify) ConvertToFile ¶
func (t TypeScriptify) ConvertToFile(fileName string) error
func (*TypeScriptify) RegisterDateType ¶
func (t *TypeScriptify) RegisterDateType(typeOf reflect.Type)
 Click to show internal directories. 
   Click to hide internal directories.