Documentation
¶
Index ¶
- func RunCmdOut(name string, arg ...string) (string, error)
- type CodePager
- func (this *CodePager) AP(name, code string)
- func (this *CodePager) APU(name, code string)
- func (this *CodePager) APUf(name, format string, args ...interface{})
- func (this *CodePager) APf(name, format string, args ...interface{})
- func (this *CodePager) AddPointer(name string)
- func (this *CodePager) AllPoints() []string
- func (this *CodePager) Append(name, code string)
- func (this *CodePager) AppendUnique(name, code string)
- func (this *CodePager) Appendf(name, fmts string, args ...interface{})
- func (this *CodePager) Appendv(name string, args ...interface{})
- func (this *CodePager) ExportAll() string
- func (this *CodePager) ExportCode(names []string) string
- func (this *CodePager) GetPoint(name string) string
- func (this *CodePager) HasPointer(name string) bool
- func (this *CodePager) PP(name, code string)
- func (this *CodePager) PPU(name, code string)
- func (this *CodePager) PPUf(name, format string, args ...interface{})
- func (this *CodePager) PPf(name, format string, args ...interface{})
- func (this *CodePager) Prepend(name, code string)
- func (this *CodePager) PrependUnique(name, code string)
- func (this *CodePager) RemoveLine(name, code string)
- func (this *CodePager) RemovePoint(name string)
- func (this *CodePager) Reset()
- func (this *CodePager) TotolLength() int
- func (this *CodePager) TotolLine() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CodePager ¶
type CodePager struct {
// contains filtered or unexported fields
}
CodePager helps with writing Go source files.
func NewCodePager ¶
func NewCodePager() *CodePager
func NewCodePagerNoComment ¶
func NewCodePagerNoComment() *CodePager
func (*CodePager) AddPointer ¶
func (*CodePager) AppendUnique ¶
func (*CodePager) ExportCode ¶
按照names给出的顺序合并并导出代码。
func (*CodePager) HasPointer ¶
func (*CodePager) PrependUnique ¶
func (*CodePager) RemovePoint ¶
func (*CodePager) TotolLength ¶
Click to show internal directories.
Click to hide internal directories.