Documentation
¶
Index ¶
- type GoWriter
- func (w *GoWriter) WriteCheckErr(errName string, body func())
- func (w *GoWriter) WriteDefer(params []string, calls []string, body func())
- func (w *GoWriter) WriteFuncByFuncType(f *option.FuncType, importer swipe.Importer)
- func (w *GoWriter) WriteFuncCall(id, name string, params []string)
- func (w *GoWriter) WriteFuncCallByFuncType(f *option.FuncType, params []string, importer swipe.Importer)
- func (w *GoWriter) WriteStruct(keyvals []string, assign bool)
- func (w *GoWriter) WriteStructAssign(keyvals []string)
- func (w *GoWriter) WriteStructDefined(keyvals []string)
- func (w *GoWriter) WriteType(name string)
- func (w *GoWriter) WriteTypeStruct(name string, keyvals []string)
- type TextWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoWriter ¶
type GoWriter struct {
TextWriter
}
func (*GoWriter) WriteCheckErr ¶
func (*GoWriter) WriteDefer ¶
func (*GoWriter) WriteFuncByFuncType ¶
func (*GoWriter) WriteFuncCall ¶
func (*GoWriter) WriteFuncCallByFuncType ¶
func (*GoWriter) WriteStruct ¶
func (*GoWriter) WriteStructAssign ¶
func (*GoWriter) WriteStructDefined ¶
func (*GoWriter) WriteTypeStruct ¶
type TextWriter ¶
func (*TextWriter) Line ¶
func (w *TextWriter) Line()
func (*TextWriter) W ¶
func (w *TextWriter) W(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.