Cgboal / SonarSearch

A rapid API for the Project Sonar dataset
MIT License
641 stars 96 forks source link

Miss typo at struct crobat.Domain #54

Open sohainewbie opened 2 years ago

sohainewbie commented 2 years ago

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