package
0.0.0-20241223201216-b2272ab2b612
Repository: https://github.com/susmdt/gscript.git
Documentation: pkg.go.dev
# Functions
Asset loads and returns the asset for the given name.
AssetDir returns the file names below a certain directory embedded in the file by go-bindata.
AssetInfo loads and returns the asset info for the given name.
AssetNames returns the names of the assets.
DefaultOptions returns an Options object with all default options pre-filled.
ExecuteFuncsInParallel is a meta function that takes an array of function pointers (hopefully for each VM) and executes them in parallel to decrease compile times.
GatherInstalledGoPackages retrieves a list of all installed go packages in the context of current GOPATH and GOROOT.
GOARCHList returns a slice of all possible go architectures.
GOOSList returns a slice of all possible go architectures.
IsBuildSpecificFile tests a file to see if it's got platform specific naming to it's convention.
IsValidArch checks to see if the supplied string is a valid operating system target.
IsValidOS checks to see if the supplied string is a valid operating system target.
List packages on workDir.
MustAsset is like Asset but panics when Asset would return an error.
RandAlphaNumericString creates a random lowercase alpha-numeric string of a given length.
RandLowerAlphaString creates a random lowercase alpha-only string of a given length.
RandMixedAlphaNumericString creates a random mixed-case alpha-numeric string of a given length.
RandomInt returns a random integer between a min and max value.
RandUpperAlphaNumericString creates a random uppercase alpha-numeric string of a given length.
RandUpperAlphaString creates a random uppercase alpha-only string of a given length.
ResolveEngineDir attempts to resolve the absolute path of the genesis engine directory.
No description provided by the author
ResolveGoPath attempts to resolve the current user's GOPATH.
ResolveStandardLibraryDir attempts to resolve the absolute path of the specified standard library package.
RestoreAsset restores an asset under the given directory.
RestoreAssets restores an asset under the given directory recursively.
No description provided by the author
SourceFileIsTest determines if the given source file is named after the test convention.
ValidArchList returns the list of valid architectures.
ValidOSList returns the list of valid target operating systems.
# Constants
FullObfuscation tells the compiler to perform all available obfuscation techniques.
NoObfuscation tells the compiler not to perform any available obfuscation techniques.
NoPostObfuscation tells the compiler to only perform post compilation obfuscation techniques.
NoPreObfuscation tells the compiler to only perform pre compilation obfuscation techniques.
# Variables
GenesisLibs is the name of the packages within the genesis standard library.
GOARCH maintains a cache of valid go architectures.
GOOS maintains a cache of valid go OS's.
InstalledGoPackages holds a cache of all currently installed golang libraries.
No description provided by the author
# Structs
Options defines a type to allow customization of a compiler at runtime.
Pkg hold the information of the package.
Options for retrieve packages.