mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-18 23:15:26 +02:00
18 lines
309 B
Go
18 lines
309 B
Go
package indexes
|
|
|
|
import (
|
|
"config-lsp/handlers/hosts/shared"
|
|
)
|
|
|
|
type HostsIndexes struct {
|
|
Resolver *Resolver
|
|
// [line]error
|
|
DoubleIPs map[uint32]shared.DuplicateIPDeclaration
|
|
}
|
|
|
|
func NewHostsIndexes() HostsIndexes {
|
|
return HostsIndexes{
|
|
DoubleIPs: make(map[uint32]shared.DuplicateIPDeclaration),
|
|
}
|
|
}
|