Wondering if someone knows what is going on here:
I renamed a module in go.mod from liverserver [sic] to gols and imported it in main.go in a "cmd" subdir. Now I am getting this error when I compile main.go:
./main.go:13:12: undefined: gols
./main.go:60:12: undefined: gols
These are the lines referred to in the compiler output above
import (
)
var config gols.Config
if err :=gols.Serve(&config); err!= nil {
go mod tidy and go go clean -cache -modcache -i -r did not make a difference.
why the compiler still wants to import gols as liverserver
I am using go1.16beta1 darwin/amd64
Thanks,