Versions in this module Expand all Collapse all v0 v0.3.0 Jul 20, 2019 Changes in this version + func FormatCode(source string) string + func RegexpReplace(reg, src, temp string) string + func SourceText() string + type Source struct + F *ast.File + Fset *token.FileSet + Src string + func NewSource(src string) *Source + func (s *Source) ExprString(typ ast.Expr) string + func (s *Source) GetDef(name string) string + func (s *Source) Packages(f *ast.Field) (res []string)