Nameservice app adaptation make install error

Hey Guys,

I am trying to understand the nameservice app tutorial. To do this I recreated a very similar application but changing just a few methods in order to try to better understand the code.

Running the make install command I have this error message:

make install
–> Ensure dependencies have not been modified
GO111MODULE=on go mod verify
all modules verified
GO111MODULE=on go install -tags “” ./cmd/nsd
go: finding github.com/Ohmere03/testapplication latest

github.com/Ohmere03/testapplication

…/…/…/…/pkg/mod/github.com/!ohmere03/testapplication@v0.0.0-20190501132756-c73d0c61bd36/app.go:22:9: undefined: MakeCodec
…/…/…/…/pkg/mod/github.com/!ohmere03/testapplication@v0.0.0-20190501132756-c73d0c61bd36/app.go:29:3: unknown field ‘cdc’ in struct literal of type bolApp
Makefile:3: recipe for target ‘install’ failed
make: *** [install] Error 2

I tried to check the lines indicated but could not find any of these errors.

Any help would be welcome in order to resolve this issue.

Many thanks in advance

Hey,

Make this your module name in go.mod “module github.com/Ohmere03/testapplication

Thanks worked perfectly!