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

go-mocro (v2.1.1) does not contain package log #1243

Closed
mouyong opened this issue Feb 24, 2020 · 3 comments
Closed

go-mocro (v2.1.1) does not contain package log #1243

mouyong opened this issue Feb 24, 2020 · 3 comments
Assignees

Comments

@mouyong
Copy link

mouyong commented Feb 24, 2020

Describe the bug

github.com/micro/go-micro/v2/util/log: module github.com/micro/go-micro/v2@latest found (v2.1.1), but does not contain package github.com/micro/go-micro/v2/util/log
  1. What are you trying to do?
    i don't know how to resolve. change go.mod version can be resolve.

  2. What did you expect to happen?
    it can be run.

  3. What happens instead?
    v2.1.0 can be found it.

How to reproduce the bug:

first. create new web template.

micro new --namespace=know.micro.invoice --type=web --alias=invoice --gopath=false invoice-web

second,

in edit main.go

image

image

image


**Environment:**
Go Version:go version go1.13.5 windows/amd64

set GO111MODULE=on
set GOARCH=amd64
set GOBIN=
set GOCACHE=E:\Users\my242\AppData\Local\go-build
set GOENV=C:\Users\my242\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=E:\Users\my242\go
set GOPRIVATE=
set GOPROXY=https://goproxy.cn
set GOROOT=D:\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=D:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=Z:\code\go\invoice\invoice-srv\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\my242\AppData\Local\Temp\go-build000996654=/tmp/go-build -gno-record-gcc-switches

@asim
Copy link
Member

asim commented Feb 24, 2020

@vtolstov removing util/log is a breaking change so we need to preserve some sort of backwards compatibility leaving the stuff there and configuring logger.

@vtolstov
Copy link
Contributor

i believe that this is will be fixed with #1244

@vtolstov
Copy link
Contributor

fixed i latest release

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

3 participants