You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Taken an example from examples/heartbeat
What are you trying to do?
package main
import (
"time"
"go-micro.dev/v4"
"go-micro.dev/v4/util/log"
)
func main() {
service := micro.NewService(
micro.Name("com.example.srv.foo"),
micro.RegisterTTL(time.Second*30),
micro.RegisterInterval(time.Second*15),
)
service.Init()
if err := service.Run(); err != nil {
log.Fatal(err)
}
}
How to reproduce the bug:
➜ m-test go mod tidy
go: finding module for package go-micro.dev/v4/util/log
go: finding module for package go-micro.dev/v4
go: found go-micro.dev/v4 in go-micro.dev/v4 v4.2.1
go: found go-micro.dev/v4/util/log in go-micro.dev/v4/util/log v1.18.0
go: m-test/accounts imports
go-micro.dev/v4/util/log: go-micro.dev/v4/util/log@v1.18.0: parsing go.mod:
module declares its path as: github.com/micro/go-micro
but was required as: go-micro.dev/v4/util/log
The text was updated successfully, but these errors were encountered:
Describe the bug
Taken an example from examples/heartbeat
How to reproduce the bug:
The text was updated successfully, but these errors were encountered: