Closed cstockton closed 4 years ago
The code was capturing the address of the flag as a parameter to a package scoped variable delcaration, deferefencing before the flag.Parse call could assign a value. Since it relies on flag.Parse it had to be moved after, so I pass it to New*.
The code was capturing the address of the flag as a parameter to a package scoped variable delcaration, deferefencing before the flag.Parse call could assign a value. Since it relies on flag.Parse it had to be moved after, so I pass it to New*.