Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultFileHeader = `Code generated by solo-kit. DO NOT EDIT.`
View Source
const NoFileHeader = ""
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultFileWriter ¶
type DefaultFileWriter struct { Root string HeaderFromFilename func(string) string // prepended to files before write }
writes to the filesystem
func (*DefaultFileWriter) WriteFile ¶
func (w *DefaultFileWriter) WriteFile(file codegenerator.File) error
func (*DefaultFileWriter) WriteFiles ¶
func (w *DefaultFileWriter) WriteFiles(files codegenerator.Files) error
type FileWriter ¶
type FileWriter interface { WriteFile(file codegenerator.File) error WriteFiles(files codegenerator.Files) error }
Click to show internal directories.
Click to hide internal directories.