You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the logic of the os-specific parsing of network flags is in a private function called linkFlags. I am proposing to create the function NewFlags insteads, which parses the os-specific flags, which would allow me to re-use the logic of that function rather than copying it into my own code. I don't see any breaking changes this would introduce.
The text was updated successfully, but these errors were encountered:
net.NewFlags does not seem like a good name for this functionality. Also, there is no obvious meaning for this functionality on Windows, so it doesn't seem like a good fit for the net package in general.
Proposal Details
Currently, the logic of the os-specific parsing of network flags is in a private function called
linkFlags
. I am proposing to create the functionNewFlags
insteads, which parses the os-specific flags, which would allow me to re-use the logic of that function rather than copying it into my own code. I don't see any breaking changes this would introduce.The text was updated successfully, but these errors were encountered: