Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miss typo at struct crobat.Domain #54

Open
sohainewbie opened this issue Jul 22, 2022 · 0 comments
Open

Miss typo at struct crobat.Domain #54

sohainewbie opened this issue Jul 22, 2022 · 0 comments

Comments

@sohainewbie
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant