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
go1.15.15 (This version is normal, and errors are reported in subsequent versions)
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=on
set GOARCH=amd64
![QQ截图20230328212449](https://user-images.githubusercontent.com/39363346/228251275-06df4ecd-bedc-4919-90b1-84efa6694fbc.png)
set GOBIN=
set GOCACHE=C:\Users\Administrator\AppData\Local\go-build
set GOENV=C:\Users\Administrator\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\Administrator\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\Administrator\go
set GOPRIVATE=
set GOPROXY=https://goproxy.cn,direct
set GOROOT=C:\Program Files\Go
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\Users\Administrator\go\src\gitee.com\yzzd2\pi\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 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\ADMINI~1\AppData\Local\Temp\go-build278086842=/tmp/go-build -gno-record-gcc-switches
What did you do?
I used a Chinese package name (folder name)
report errors: routers\router.go:46:2: malformed import path "gitee.com/xxx/xxx/controllers/用户管理/消息管理": invalid char '用'
What did you expect to see?
I hope the new version can support Chinese package names. After all, Go1.15.15 has been supported before, and has been used in multiple projects.
What did you see instead?
In versions after go1.15.15, Chinese cannot be used as the package name (folder name)
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?go1.15.15 (This version is normal, and errors are reported in subsequent versions)
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I used a Chinese package name (folder name)
report errors: routers\router.go:46:2: malformed import path "gitee.com/xxx/xxx/controllers/用户管理/消息管理": invalid char '用'
What did you expect to see?
I hope the new version can support Chinese package names. After all, Go1.15.15 has been supported before, and has been used in multiple projects.
What did you see instead?
In versions after go1.15.15, Chinese cannot be used as the package name (folder name)
The text was updated successfully, but these errors were encountered: