Documentation ¶
Index ¶
- type File
- func (f *File) AddImport(aliase, importpath string) *File
- func (f *File) Bytes() []byte
- func (f *File) Save() error
- func (f *File) SetBuildIgnore(b bool) *File
- func (f *File) String() string
- func (f *File) WithFilename(filename string) *File
- func (f *File) WithPackname(packname string) *File
- func (s *File) WriteFormat(str string, a ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
func (*File) SetBuildIgnore ¶ added in v0.2.12
func (*File) WithFilename ¶
func (*File) WithPackname ¶
func (*File) WriteFormat ¶
Click to show internal directories.
Click to hide internal directories.