comment update;standardize const naming for package gtcp/gudp

This commit is contained in:
John Guo
2021-08-08 13:10:21 +08:00
parent dc407bf293
commit fc1dfb7ff9
17 changed files with 114 additions and 112 deletions

View File

@ -20,7 +20,7 @@ var (
argumentRegex = regexp.MustCompile(`^\-{1,2}([\w\?\.\-]+)(=){0,1}(.*)$`)
)
// Custom initialization.
// Init does custom initialization.
func Init(args ...string) {
if len(args) == 0 {
if len(defaultParsedArgs) == 0 && len(defaultParsedOptions) == 0 {