mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-19 07:25:27 +02:00
16 lines
304 B
Go
16 lines
304 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),
|
|
}
|
|
}
|