SonarSearch
SonarSearch copied to clipboard
Miss typo at struct crobat.Domain
I try to run this code on my local (SonarSearch/cmd/crobat-server), but
$go run main.go
# github.com/cgboal/sonarsearch/cmd/crobat-server/grpc
grpc/server.go:77:25: unknown field 'IPv4' in struct literal of type "github.com/cgboal/sonarsearch/proto".Domain (but does have Ipv4)
grpc/server.go:100:25: unknown field 'IPv4' in struct literal of type "github.com/cgboal/sonarsearch/proto".Domain (but does have Ipv4)
so I fixing
reply := &crobat.Domain{
Domain: result.Domain,
IPv4: result.IPv4,
}
from IPv4 into Ipv4
I want to help contribute but can't create some PR. so please check man