SonarSearch
SonarSearch copied to clipboard
Got issue when try to compile sonar server !
when i try to bluid the crobat-server
go build -tags=go_json -o bin/crobat-server ./cmd/crobat-server
i got this error "cmd/crobat-server/grpc/server.go:77:25: unknown field 'IPv4' in struct literal of type "github.com/cgboal/sonarsearch/proto".Domain (but does have Ipv4)"
any help ? thx
also where is the source for the web api ? thx
The source for the web api is in that cmd/crobat-server
directory. Try using the makefile to compile
There's a typo on the server.go file related to the structure field names.
Replace IPv4
with Ipv4
on the server.go file and it will compile without issues.