ygot
ygot copied to clipboard
Add Equal method for enumerated types for comparing against string
enumerations and identities can be a bit tedious when comparing, as their names are long.
An Equal
method for every enumeration that compares against a string can help with this.
Useful references:
The current String()
method definition.
EnumLogString
's definition
@vcheny