Versions in this module Expand all Collapse all v0 v0.1.0 Apr 27, 2021 Changes in this version + var GetGoEnv = gltsgsge.GetGoEnv + var KeyWordsList = []string + var TypesList = []string + type CommentStruct struct + IsMultiLines bool + Lines []string + Text string + type Function struct + Body string + Content content + Exported bool + File string + Ident identObj + Name string + ParamReslt paramReslt + Recv string + RecvFromSrc string + type GoSourceFileStruct struct + Eol string + Filename string + Func []Function + GoSourcePath string + Imports []imported + Package string + PackageLineIdx int + Struct []Structure + Var []Variable + func GoSourceFileStructNew() (gsfs *GoSourceFileStruct, err error) + func GoSourcePkgStructSetup(path string) (*GoSourceFileStruct, error) + func (gsfs *GoSourceFileStruct) AppendFile(filename string) (err error) + func (gsfs *GoSourceFileStruct) AstToFileAndBBuff(saveToFilename ...string) (bytesBuf *bytes.Buffer, err error) + func (gsfs *GoSourceFileStruct) GetBuildConstraints() (bDir []string) + func (gsfs *GoSourceFileStruct) GetFuncByName(fName string, unExported ...bool) (funct *Function) + func (gsfs *GoSourceFileStruct) GetGlobalComments() (cs []CommentStruct) + func (gsfs *GoSourceFileStruct) GetImportsOnly(filename string) (err error) + func (gsfs *GoSourceFileStruct) GetStructByName(sName string) (stru *Structure) + func (gsfs *GoSourceFileStruct) GetVarByName(vName string) (vari *Variable) + func (gsfs *GoSourceFileStruct) GoSourceFileStructureSetup(filename string, zero ...bool) (err error) + type Structure struct + Content content + Exported bool + Fields []field + File string + Ident identObj + Methods []Function + Name string + type Variable struct + Content content + Exported bool + File string + Found identObj + Objects field