Regex implementation (yet to be implemented)

This commit is contained in:
Ben 2025-07-26 23:57:34 -07:00
parent 902f6513ff
commit 9a7834c330
Signed by: webmaster
GPG key ID: A5FCBAF34E6E8B50
5 changed files with 72 additions and 3 deletions

View file

@ -16,8 +16,7 @@ var flagsParsed bool = false;
/* what JSON file to read config values from */
var confLocation = flag.String("conf", "./config.txt", "Config file to read from")
/* Returns nil if flags are not parsed yet
@return set boolean will be true if argument is not nil */
/* @return set boolean will be true if argument is not nil */
func GetConfLocation() (location string, set bool) {
if confLocation == nil {return "", false}
return *confLocation, true;