Rename Address Group Constant

This commit is contained in:
Samuel Lorch 2023-03-02 00:04:43 +01:00
parent b09875fd85
commit 16a9fec479

View file

@ -21,7 +21,7 @@ const (
Host AddressType = iota
Range
Network
Group
AddressGroup
)
func (t AddressType) String() string {
@ -33,7 +33,7 @@ func (t *AddressType) FromString(input string) AddressType {
"host": Host,
"range": Range,
"network": Network,
"group": Group,
"group": AddressGroup,
}[input]
}