Documentation ¶
Index ¶
- Constants
- Variables
- type ExportedVar
- type Go
- type GoDst
- type GoSrc
- type Reader
- func (r *Reader) Done()
- func (r *Reader) NextByte(b *byte) bool
- func (r *Reader) NextByte2() (b byte, hasNext bool)
- func (r *Reader) NextLine(s *string) bool
- func (r *Reader) NextLine2() (lineStr string, hasNext bool)
- func (r *Reader) NextRune(un *rune) bool
- func (r *Reader) NextRune2() (un rune, hasNext bool)
- type Writer
Constants ¶
View Source
const ( CommentBeforePackage = "before:package" CommentBeforeImport = "before:import" )
Variables ¶
View Source
var ( Xxx3 int64 Xxx4 = "xxx4" )
View Source
var Xxx int
View Source
var Xxx2 = "xxx2"
Functions ¶
This section is empty.
Types ¶
type ExportedVar ¶ added in v1.2.41
func ReadGoVar ¶ added in v1.2.41
func ReadGoVar(filePath string) *ExportedVar
ReadGoVar
read check exported global var
var Xxx type var Xxx2 = value var () var ( \tXxx3 type \tXxx4 = value )
type Go ¶ added in v1.2.15
func (*Go) TrimComment ¶ added in v1.2.15
type Reader ¶ added in v1.2.15
type Reader struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.