SonarSearch icon indicating copy to clipboard operation
SonarSearch copied to clipboard

Miss typo at struct crobat.Domain

Open sohainewbie opened this issue 2 years ago • 0 comments

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

sohainewbie avatar Jul 22 '22 04:07 sohainewbie